summaryrefslogtreecommitdiff
path: root/pcr/shflags/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-07-12 22:53:11 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-07-12 22:53:11 -0300
commite14736ca7ac051726b587d8fdb8368be502a9109 (patch)
tree6a40b3b2de9bf45e8f31ba5fd45ee8f2615bd4ae /pcr/shflags/PKGBUILD
parente6e169990bdfc35fb6151f148510bf3f0da1dc1e (diff)
parent360a407f262ac47087ff29718465fbfc7765cb73 (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/shflags/PKGBUILD')
-rw-r--r--pcr/shflags/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/shflags/PKGBUILD b/pcr/shflags/PKGBUILD
new file mode 100644
index 000000000..c4f3ee7a9
--- /dev/null
+++ b/pcr/shflags/PKGBUILD
@@ -0,0 +1,31 @@
+#Maintainer max_meyer
+pkgname=shflags
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags"
+arch=(any)
+url="http://code.google.com/p/shflags/"
+license=('LGPL')
+depends=(sh)
+provides=(shflags)
+optdepends=(bash zsh dash ksh)
+options=(zipman)
+source=(http://shflags.googlecode.com/files/$pkgname-$pkgver.tgz{,.sig})
+md5sums=('b4d7133696ec05b71b27d8df5e278f0f'
+ 'SKIP')
+
+package() {
+ src="$srcdir/$pkgname-$pkgver/src/"
+ dst="$pkgdir/usr/share/lib/shflags"
+ mkdir -p "$dst"
+
+ if [ -f "$src/shflags" ]; then
+ cp "$src/shflags" "$dst/shflags.sh"
+ else
+ msg "Warning shflags not found"
+ exit 1
+ fi
+
+}
+
+# vim:set ts=2 sw=2 et: