summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-21 11:43:21 +0200
committerErich Eckner <git@eckner.net>2017-09-21 11:43:21 +0200
commitfe9d2d0468fc8ca164c741d2776a3087d2b75832 (patch)
tree4340e8b9ec9d64f11bdcbb440a762c48aae60387
parent29850867aac83a3f1d2a90f17028121d1d940cca (diff)
downloadarchlinuxewe.git.save-fe9d2d0468fc8ca164c741d2776a3087d2b75832.tar.xz
cower neu
-rw-r--r--cower/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/cower/PKGBUILD b/cower/PKGBUILD
new file mode 100644
index 00000000..939c868b
--- /dev/null
+++ b/cower/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Dave Reisner <d@falconindy.com>
+
+pkgname=cower
+pkgver=17
+pkgrel=2
+pkgdesc="A simple AUR agent with a pretentious name"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/cower"
+license=('MIT')
+depends=('curl' 'pacman' 'yajl')
+makedepends=('perl')
+source=("https://pkgbuild.com/~dreisner/sources/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53') # Dave Reisner
+md5sums=('263c216e6643751b6c96eebfdd70c359'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ make
+ sed '/^$/q' src/cower.c >LICENSE
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh