1 # Maintainer: Spencer Judd <spencercjudd@gmail.com>
3 pkgname="paest-cli-git"
6 pkgdesc="A command-line interface for pae.st, the pastebin for hardcore programmers."
8 url="https://github.com/scjudd/paestcli"
14 _gitroot="git://github.com/scjudd/paestcli.git"
19 msg "Connecting to GIT server...."
21 if [ -d ${_gitname} ]; then
22 cd ${_gitname} && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf ${srcdir}/${_gitname}-build
32 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
33 cd ${srcdir}/${_gitname}-build
35 install -D -m755 paest ${pkgdir}/usr/bin/paest || return 1