Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b3659b8cbe
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (33 sloc) 0.924 kb
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=cower-git
pkgver=20120112
pkgrel=1
pkgdesc="A simple AUR agent with a pretentious name"
arch=('i686' 'x86_64')
url="http://github.com/falconindy/cower"
license=('MIT')
depends=('curl' 'libarchive' 'pacman' 'yajl' )
makedepends=('git' 'perl')
conflicts=('cower')
provides=('cower')
_gitroot="git://github.com/falconindy/cower.git"
_gitname="cower"
build() {
msg "Connecting to GIT server...."
if [[ -d $_gitname ]] ; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make
}
package() {
make -C "$srcdir/$_gitname-build" PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim: ft=sh syn=sh et
Jump to Line
Something went wrong with that request. Please try again.