summaryrefslogtreecommitdiff
path: root/pcr/gengetopt/PKGBUILD
blob: bc4bd730865529f61e36c68a591e179bee216b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor : Christian Hesse <mail@eworm.de>
# Contributor : andreas_baumann <abaumann@yahoo.com>
# Contributor : zhuqin <zhuqin83@gmail.com>
# Maintainer  : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=gengetopt
pkgver=2.22.6
pkgrel=2
pkgdesc="A tool to write command line option parsing code for C programs."
arch=('i686' 'x86_64' 'arm' 'armv6h')
url="http://www.gnu.org/software/gengetopt/gengetopt.html"
license="GPL"
options=('!docs' '!makeflags')
source=(ftp://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.gz{,.sig})

build() {
	cd ${srcdir}/${pkgname}-${pkgver}

	./configure --prefix=/usr
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}

	make DESTDIR=${pkgdir} install
}