summaryrefslogtreecommitdiff
path: root/pcr/gengetopt/PKGBUILD
blob: db5e32ed84745ce5201b49908e2ab0f2b47761c2 (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
27
28
29
30
31
# Contributor (Arch): Christian Hesse <mail@eworm.de>
# Contributor (Arch): andreas_baumann <abaumann@yahoo.com>
# Contributor (Arch): zhuqin <zhuqin83@gmail.com>
# Maintainer  : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=gengetopt
pkgver=2.22.6
pkgrel=3
pkgdesc="A tool to write command line option parsing code for C programs."
arch=('i686' 'x86_64')
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)


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

	./configure --prefix=/usr
	make
}

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

	make DESTDIR=${pkgdir} install
}

sha256sums=('30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7'
            )