desktop/gengetopt/PKGBUILD
2017-03-12 14:38:07 +00:00

27 lines
636 B
Bash

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
}