1 # Contributor: Dieter Plaetinck <dieter@plaetinck.be>
5 pkgdesc="Snip: A lightweight snippets expander"
7 url="http://github.com/Dieterbe/snip/"
9 depends=('dmenu' 'xdotool' 'zenity')
15 _gitroot="git://github.com/Dieterbe/snip.git"
18 msg "Connecting to GIT server..."
19 if [[ -d $srcdir/$pkgname-$pkgver ]]; then
20 cd $srcdir/$pkgname-$pkgver && git pull origin || return 1
22 git clone $_gitroot $srcdir/$pkgname-$pkgver || return 1
23 cd $srcdir/$pkgname-$pkgver
26 msg "GIT checkout done or server timeout"
28 make DESTDIR="$pkgdir/usr" install
31 # vim:set ts=2 sw=2 et: