1 # Maintainer: David Campbell <davekong@archlinux.us>
5 pkgdesc='A collection of bash scripts.'
7 url='http://github.com/davekong/bash'
9 depends=('tree' 'bash')
12 _gitroot='git://github.com/davekong/bash.git'
17 msg 'Connecting to GIT server...'
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg 'The local files are updated.'
23 git clone $_gitroot $_gitname
26 msg 'GIT checkout done or server timeout'
27 msg 'Starting make...'
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
34 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
35 install -Dm755 mktree.sh "$pkgdir/usr/bin/mktree"
36 install -Dm755 word_bubbles.sh "$pkgdir/usr/bin/word_bubbles"