void-packages/srcpkgs/pkgconf/template

29 lines
944 B
Bash

# Template file for 'pkgconf'
pkgname=pkgconf
version=1.6.1
revision=1
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="https://git.dereferenced.org/pkgconf/pkgconf"
changelog="https://git.dereferenced.org/pkgconf/pkgconf/raw/branch/master/NEWS"
distfiles="https://distfiles.dereferenced.org/pkgconf/${pkgname}-${version}.tar.xz"
checksum=22b9ee38438901f9d60f180e5182821180854fa738fd071f593ea26a81da208c
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}
}