updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / shflags / PKGBUILD
blobdd3fbf9ecaf33762eceac803828ab5f38072f2b2
1 #Maintainer max_meyer
2 pkgname=shflags
3 pkgver=1.0.3
4 pkgrel=1
5 pkgdesc="Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags"
6 arch=(any)
7 url="http://code.google.com/p/shflags/"
8 license=('LGPL')
9 depends=(sh)
10 provides=(shflags)
11 optdepends=(bash zsh dash ksh)
12 options=(zipman)
13 source=(http://shflags.googlecode.com/files/$pkgname-$pkgver.tgz)
14 md5sums=('b4d7133696ec05b71b27d8df5e278f0f')
16 build() {
17   src="$srcdir/$pkgname-$pkgver/src/"
18   dst="$pkgdir/usr/share/lib/shflags"
19   mkdir -p "$dst" 
21   if [ -f "$src/shflags" ]; then
22       cp "$src/shflags" "$dst/shflags.sh"
23   else
24       msg "Warning shflags not found"
25       exit 1
26   fi
30 # vim:set ts=2 sw=2 et: