# Contributor: Leo # Maintainer: Natanael Copa pkgname=popt pkgver=1.19 pkgrel=3 pkgdesc="commandline option parser" url="https://github.com/rpm-software-management/popt" arch="all" license="MIT" subpackages="$pkgname-doc $pkgname-static $pkgname-dev" source="http://ftp.rpm.org/popt/releases/popt-${pkgver%.*}.x/popt-$pkgver.tar.gz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libdir=/lib make } check() { make check } package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING mkdir -p "$pkgdir"/usr/lib mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib } sha512sums=" 5d1b6a15337e4cd5991817c1957f97fc4ed98659870017c08f26f754e34add31d639d55ee77ca31f29bb631c0b53368c1893bd96cf76422d257f7997a11f6466 popt-1.19.tar.gz "