pkgname=pkgconf
pkgver=2.1.1
pkgrel=2
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")
depends=(glibc)
provides=(pkg-config)
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/pkgconf-2.1.1
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
ln -sv pkgconf "$pkgdir"/usr/bin/pkg-config
ln -sv pkgconf.1 "$pkgdir"/usr/share/man/man1/pkg-config.1
}
sha256sums=('3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5')