aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD31
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..c488742
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 14:57:44 UTC 2015
+pkgbase = cower-git
+ pkgdesc = A simple AUR agent with a pretentious name
+ pkgver = 11.r22.g0c32b94
+ pkgrel = 1
+ url = http://github.com/falconindy/cower
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = perl
+ depends = curl
+ depends = pacman
+ depends = yajl
+ provides = cower
+ conflicts = cower
+ source = git://github.com/falconindy/cower
+ md5sums = SKIP
+
+pkgname = cower-git
+
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
+}
+