PKGBUILDs/aur/cower/PKGBUILD
Kevin Mihelich c7f64e1d70 aur updates
2014-03-10 23:21:04 +00:00

30 lines
667 B
Bash

# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=cower
pkgver=11
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' 'yajl' 'pacman')
makedepends=('perl')
source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
md5sums=('7e2f3c5a8bc258ee129098aca5bfda9e'
'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