void-packages/srcpkgs/pkgconf/template
2020-05-26 20:07:03 +02:00

29 lines
924 B
Bash

# Template file for 'pkgconf'
pkgname=pkgconf
version=1.7.0
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=1e6eb09ede29faf33d86be21435955face4c6302f80f5db68d56e1f8a8506169
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}
}