1 # Maintainer: Antony Male <antony dot male at gmail dot com>
2 # Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
8 pkgdesc="Potentially the best command line gister"
10 url="http://github.com/defunkt/gist"
12 depends=('ruby' 'git')
13 optdepends=('xclip: will put pasted gists url into X selection automagically')
17 # Indirect is the original maintainer, prior to 2011-04-11 rduplain had a more up-to-date version though
19 _gitroot="git://github.com/${_gitfork}/gist.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname-$_gitfork ] ; then
27 cd $_gitname-$_gitfork && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot "$_gitname-$_gitfork"
33 msg "GIT checkout done or server timeout"
37 cd "$srcdir/$_gitname-$_gitfork"
38 install -Dm755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
39 install -Dm644 man/${_pkgname}.1 "${pkgdir}/usr/share/man/man1/${_pkgname}.1"
40 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"