PKGBUILDs/aur/cower/PKGBUILD
2016-03-29 00:18:21 +02:00

31 lines
751 B
Bash

# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=cower
pkgver=16
pkgrel=1
pkgdesc="A simple AUR agent with a pretentious name"
arch=('i686' 'x86_64')
url="http://github.com/falconindy/cower"
license=('MIT')
depends=('curl' 'openssl' 'pacman' 'yajl')
makedepends=('perl')
source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53') # Dave Reisner
md5sums=('f141e441b7775df3d3a1ba3a80bc3d1d'
'SKIP')
build() {
cd "$pkgname-$pkgver"
make
sed '/^$/q' 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