5 pkgdesc="Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags"
7 url="http://code.google.com/p/shflags/"
11 optdepends=(bash zsh dash ksh)
13 _svntrunk='http://shflags.googlecode.com/svn/trunk'
14 _svnmod='shflags-read-only'
18 msg "Connecting to $_svntrunk SVN server...."
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
27 src="$srcdir/$_svnmod/source/1.0/lib"
28 dst="$pkgdir/usr/share/lib/shflags"
31 if [ -f "$src/shflags" ]; then
32 cp "$src/shflags" "$dst/shflags.sh"
34 msg "Warning shflags not found"
40 # vim:set ts=2 sw=2 et: