void-packages/srcpkgs/pkgconf/template
2019-01-14 22:36:33 -02:00

28 lines
944 B
Bash

# Template file for 'pkgconf'
pkgname=pkgconf
version=1.6.0
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=6135a3abb576672ba54a899860442ba185063f0f90dae5892f64f7bae8e1ece5
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}
}