1 # Maintainer: Dave Reisner <dreisner@archlinux.org>
7 pkgdesc="last stable cower version support pacman version < 4.0"
9 url="http://github.com/falconindy/cower"
11 depends=('curl' 'yajl' 'pacman<4')
15 source=("https://github.com/downloads/falconindy/$_tarname/$_tarname-$pkgver.tar.gz"
17 md5sums=('ec9abe3a458257d6389bff35722d32a9'
18 '42dc38eb6ee699f4967da4fc7be39ff5')
21 cd "$srcdir/$_tarname-$pkgver"
23 # glorious, glorious backports
24 patch -Np1 <"$srcdir/backports.patch"
26 LDFLAGS+=' -lcrypto ' make
30 cd "$srcdir/$_tarname-$pkgver"
31 make PREFIX=/usr DESTDIR="$pkgdir" install