diff options
author | Erich Eckner <git@eckner.net> | 2019-10-23 23:02:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-23 23:02:11 +0200 |
commit | 647a9701f38a83206d63db97a53e134967cbdd88 (patch) | |
tree | 5d3523765bd51f526b2e5b0d1d1830a203f9774f /cower | |
parent | 54406c827f4b80a7192bc739a6269f03370a1e3e (diff) | |
download | archlinuxewe.git.save-647a9701f38a83206d63db97a53e134967cbdd88.tar.xz |
Revert "cower removed"
This reverts commit 08e91a0a62ca6546998e1aee51a8f51d9a3a2dcf.
Diffstat (limited to 'cower')
-rw-r--r-- | cower/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cower/PKGBUILD b/cower/PKGBUILD new file mode 100644 index 00000000..90ab042b --- /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=18 +pkgrel=6 +pkgdesc="A simple AUR agent with a pretentious name" +arch=('i686' 'pentium4' '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 +sha512sums=('aba976019e6d8b394152f62afa7db9b040d02562ec36f99b366265d9047f6e5de50396ad8c71642026fe555f8a50eae2f9574bf4e35c175f237747e7e0973e7f' + '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 |