summaryrefslogtreecommitdiff
path: root/pcr/gengetopt/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-08 18:18:58 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-08 18:18:58 -0200
commit58c74b2b003f29da380ba81dd5462b58c01582d6 (patch)
tree290ebb83d306cd9d47ea5af7a925350b06ab39f4 /pcr/gengetopt/PKGBUILD
parent77e69ee75cf260af0ade12c13e9f3b164b49d920 (diff)
parent93f74bc69ff4e26d7a167db715c5baa508ada89e (diff)
downloadabslibre-58c74b2b003f29da380ba81dd5462b58c01582d6.tar.gz
abslibre-58c74b2b003f29da380ba81dd5462b58c01582d6.tar.bz2
abslibre-58c74b2b003f29da380ba81dd5462b58c01582d6.zip
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr/gengetopt/PKGBUILD')
-rw-r--r--pcr/gengetopt/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/gengetopt/PKGBUILD b/pcr/gengetopt/PKGBUILD
new file mode 100644
index 000000000..bc4bd7308
--- /dev/null
+++ b/pcr/gengetopt/PKGBUILD
@@ -0,0 +1,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
+}