# Contributor: Francesco Colista # Maintainer: A. Wilcox pkgname=argp-standalone pkgver=1.4.1 pkgrel=0 pkgdesc="Hierarchial argument parsing library broken out from glibc" url=" " arch="all" license="LGPL-2.1+ AND Public-Domain" depends="" makedepends="libtool automake autoconf" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/ericonr/$pkgname/archive/refs/tags/$pkgver.tar.gz libtool.patch " prepare() { default_prepare autoreconf -vif } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="c5f07e88434589a13a2e88e66d1142b581f19aa82da28507f3c31ea782e080a13a4504d8108c003b5d3c8a3aa20f52ea5e81f337c11a4b1342b16361d4877c1c argp-standalone-1.4.1.tar.gz 6349f99adc4400672a63a05d77a18ea50702673495276ab703ac6d2531a20c958714a5be273a4ed1b44d2e6e7d777f9f7abe4413b7064b5219c891531831242c libtool.patch"