gengetopt 2.22.6: required by libu2f-host

This commit is contained in:
Lisa Vitolo 2017-03-12 14:38:07 +00:00
parent 4853d77401
commit c4a0544a68

26
gengetopt/PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
pkgname=gengetopt
pkgver=2.22.6
pkgrel=1
pkgdesc='A tool to write command line option parsing code for C programs'
arch=('x86_64')
url='http://www.gnu.org/software/gengetopt/gengetopt.html'
license=('GPL')
options=('!docs' '!makeflags')
validpgpkeys=('D459FCC2041AC8FEF297D53EB4AA8C689E629EAC')
source=(ftp://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.gz{,.sig})
sha256sums=('30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7'
'SKIP')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}