aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-04 18:27:00 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:41 +0200
commit4d26f048477fe4514d8135b90b553c34fa1af525 (patch)
tree5403a3c9e85591a2e6ba531b8b5c8f933cae6acb /PKGBUILD
downloadpkgbuilds-4d26f048477fe4514d8135b90b553c34fa1af525.tar.xz
cower-git: import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..f3899ac
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+pkgname=cower-git
+pkgver=11.r22.g0c32b94
+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
+}
+