aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 976ad31b5ae517715786e19bd0508575498dc654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pkgname=cower-git
pkgver=11.r29.gfa3b82d
pkgrel=1

pkgdesc="A simple AUR agent with a pretentious name"
url="http://github.com/falconindy/cower"
arch=('i686' 'x86_64')
license=('MIT')

depends=('curl' 'pacman' 'yajl' )
makedepends=('git' 'perl')

conflicts=('cower')
provides=('cower')

source=("git://github.com/falconindy/cower")
md5sums=('SKIP')

pkgver() {
	cd 'cower'
	git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
	make -C cower
}

package() {
	make -C cower PREFIX=/usr DESTDIR="$pkgdir" install
}