aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 68e253120c7fcacdce2b55319e6660bcb580f533 (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
32
pkgname=cower-git
pkgver=11.r34.g8789499
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
}