aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 8afccd90d566037c6115aee2dbcb21e815751ced (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.r35.g8370f90
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
}