1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-11 19:45:01 -05:00
arch-ppa/src/cower/PKGBUILD

32 lines
755 B
Bash
Raw Normal View History

2016-11-05 01:29:34 -04:00
# 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=("https://pkgbuild.com/~dreisner/sources/$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