1 # Maintainer: Wojciech Siewierski <darkvifon at gmail dot com>
2 # Contributor: Wojciech Siewierski <darkvifon at gmail dot com>
3 pkgname=urxvt-autocomplete-all-the-things-git
6 pkgdesc="an urxvt plugin allowing user to easily complete words"
7 url="https://github.com/Vifon/autocomplete-ALL-the-things"
10 depends=('rxvt-unicode')
12 install='autocomplete-ALL-the-things.install'
14 _gitroot="git://github.com/Vifon/autocomplete-ALL-the-things.git"
15 _gitname="autocomplete-ALL-the-things"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ]; then
22 cd $_gitname && git pull origin --depth=1
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname --depth=1
28 msg "GIT checkout done or server timeout"
29 rm -rf "$srcdir/$_gitname-build"
30 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
36 install -D -m 644 autocomplete-ALL-the-things $pkgdir/usr/lib/urxvt/perl/autocomplete-ALL-the-things