PKGBUILDs/aur/cower/PKGBUILD

32 lines
749 B
Bash
Raw Normal View History

2012-12-29 19:46:25 +00:00
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=cower
2018-05-31 18:54:29 +00:00
pkgver=18
pkgrel=1
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')
2017-05-01 12:51:24 +00:00
depends=('curl' 'pacman' 'yajl')
2014-01-25 12:52:06 +00:00
makedepends=('perl')
2017-05-01 12:51:24 +00:00
source=("https://pkgbuild.com/~dreisner/sources/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
2015-01-02 03:22:20 +00:00
validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53') # Dave Reisner
2018-05-31 18:54:29 +00:00
md5sums=('ce5993a79d7e1cc33016e06e32af03e7'
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
2017-05-01 12:51:24 +00:00
sed '/^$/q' src/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