PKGBUILDs/aur/cower/PKGBUILD

32 lines
751 B
Bash
Raw Normal View History

2012-12-29 19:46:25 +00:00
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=cower
2015-09-16 02:33:15 +00:00
pkgver=14
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')
2014-04-15 13:03:27 +00:00
depends=('curl' 'openssl' 'pacman' 'yajl')
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})
2015-01-02 03:22:20 +00:00
validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53') # Dave Reisner
2015-09-16 02:33:15 +00:00
md5sums=('0e09bb69078ab5134ddaf5e7ccb0c414'
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