1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: andreas_baumann <abaumann@yahoo.com>
3 # Contributor: zhuqin <zhuqin83@gmail.com>
8 pkgdesc='A tool to write command line option parsing code for C programs'
10 url='https://www.gnu.org/software/gengetopt/gengetopt.html'
12 options=('!docs' '!makeflags')
14 validpgpkeys=('CD7AB2B200F374043F92E5D42485C3A5CF0FF62F') # Gray Wolf <wolf@wolfsden.cz>
15 source=("https://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.xz"{,.sig})
16 sha256sums=('b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac'
20 cd "${srcdir}/${pkgname}-${pkgver}"
22 ./configure --prefix=/usr
27 cd "${srcdir}/${pkgname}-${pkgver}"
29 make DESTDIR="${pkgdir}" install