PKGBUILDs/aur/cower/PKGBUILD

31 lines
667 B
Bash
Raw Normal View History

2012-12-29 19:46:25 +00:00
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=cower
2014-01-25 12:52:06 +00:00
pkgver=11
2014-03-10 23:21:04 +00:00
pkgrel=2
2012-12-29 19:46:25 +00:00
pkgdesc="A simple AUR agent with a pretentious name"
2014-03-10 23:21:04 +00:00
arch=('i686' 'x86_64')
2012-12-29 19:46:25 +00:00
url="http://github.com/falconindy/cower"
license=('MIT')
depends=('curl' 'yajl' 'pacman')
2014-01-25 12:52:06 +00:00
makedepends=('perl')
2013-03-17 21:07:51 +00:00
source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
2014-01-25 12:52:06 +00:00
md5sums=('7e2f3c5a8bc258ee129098aca5bfda9e'
2013-04-09 09:12:46 +00:00
'SKIP')
2012-12-29 19:46:25 +00:00
build() {
2014-03-10 23:21:04 +00:00
cd "$pkgname-$pkgver"
make
sed '/^$/q' cower.c >LICENSE
2012-12-29 19:46:25 +00:00
}
package() {
2014-03-10 23:21:04 +00:00
cd "$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2012-12-29 19:46:25 +00:00
}
# vim: ft=sh syn=sh