1 # Maintainer: Dave Reisner <d@falconindy.com>
6 pkgdesc="A simple AUR agent with a pretentious name"
8 url="http://github.com/falconindy/cower"
10 depends=('curl' 'libarchive' 'pacman' 'yajl' )
11 makedepends=('git' 'perl')
15 _gitroot="git://github.com/falconindy/cower.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."
25 git clone "$_gitroot" "$_gitname"
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
39 make -C "$srcdir/$_gitname-build" PREFIX=/usr DESTDIR="$pkgdir" install
42 # vim: ft=sh syn=sh et