updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / cower-legacy / PKGBUILD
bloba3094d77b65e1ede8a86cb83d2bb3f2c4649cec1
1 # Maintainer: Dave Reisner <dreisner@archlinux.org>
3 pkgname=cower-legacy
4 _tarname=cower
5 pkgver=3.0.5
6 pkgrel=2
7 pkgdesc="last stable cower version support pacman version < 4.0"
8 arch=('i686' 'x86_64')
9 url="http://github.com/falconindy/cower"
10 license=('MIT')
11 depends=('curl' 'yajl' 'pacman<4')
12 makedepends=('perl')
13 conflicts=('cower')
14 provides=('cower')
15 source=("https://github.com/downloads/falconindy/$_tarname/$_tarname-$pkgver.tar.gz"
16         "backports.patch")
17 md5sums=('ec9abe3a458257d6389bff35722d32a9'
18          '42dc38eb6ee699f4967da4fc7be39ff5')
20 build() {
21   cd "$srcdir/$_tarname-$pkgver"
23   # glorious, glorious backports
24   patch -Np1 <"$srcdir/backports.patch"
26   LDFLAGS+=' -lcrypto ' make
29 package() {
30   cd "$srcdir/$_tarname-$pkgver"
31   make PREFIX=/usr DESTDIR="$pkgdir" install
34 # vim: ft=sh syn=sh