void-packages/srcpkgs/pkgconf/template

30 lines
924 B
Bash

# Template file for 'pkgconf'
pkgname=pkgconf
version=1.7.4
revision=1
bootstrap=yes
build_style=gnu-configure # cmake and meson also available
configure_args="--disable-shared --disable-static"
checkdepends="kyua"
short_desc="Provides compiler and linker configuration"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://pkgconf.org/"
changelog="https://raw.githubusercontent.com/pkgconf/pkgconf/master/NEWS"
distfiles="https://distfiles.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz"
checksum=d73f32c248a4591139a6b17777c80d4deab6b414ec2b3d21d0a24be348c476ab
alternatives="
pkg-config:pkg-config:/usr/bin/pkgconf
pkg-config:pkg-config.1:/usr/share/man/man1/pkgconf.1
pkg-config:pkg.m4:/usr/share/aclocal/pkg.m4.pkgconf"
post_install() {
vlicense COPYING
rm -rf $DESTDIR/usr/include
# Suffix file that conflicts with pkg-config
mv ${DESTDIR}/usr/share/aclocal/pkg.m4{,.pkgconf}
}