1 # Maintained by: sudokode <sudokode@gmail.com>
6 pkgdesc="Robust frontend to wget and/or curl for various pastebin services"
8 url="http://github.com/sudokode/elmer"
11 depends=('perl>=5.10' 'perl-uri')
12 optdepends=('wget: pasting with wget'
13 'curl: pasting with curl (required to upload files)'
14 'xclip: reading from and printing to X buffer')
17 _gitroot="git://github.com/sudokode/elmer.git"
23 if [ -d ${_gitname} ] ; then
24 cd ${_gitname} && git pull origin
29 rm -rf ${srcdir}/${_gitname}-build
30 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
31 cd ${srcdir}/${_gitname}-build
35 install -D -m755 ${srcdir}/${_gitname}/${_gitname} ${pkgdir}/usr/bin/${_gitname} || return 1
36 install -D -m755 ${srcdir}/${_gitname}/LICENSE ${pkgdir}/usr/share/licenses/${_gitname}/LICENSE || return 1