PKGBUILDs/aur/pianobar/PKGBUILD

34 lines
874 B
Bash
Raw Normal View History

2012-03-17 20:04:23 +00:00
# Maintainer: Mitch Bigelow <ipha00@gmail.com>
plugrel=1
pkgname=pianobar
2012-05-03 23:05:07 +00:00
pkgver=2012.04.24
2012-04-15 17:03:46 +00:00
pkgrel=2
2012-03-17 20:04:23 +00:00
pkgdesc="console-based frontend for Pandora (official version)"
url="http://6xq.net/0017"
arch=('i686' 'x86_64')
license=('MIT')
2012-03-17 22:58:16 +00:00
depends=('libao' 'faad2' 'libmad' 'gnutls')
2012-05-03 23:05:07 +00:00
source=(http://6xq.net/media/00/16/pianobar-$pkgver.tar.bz2
protocol-fix.patch)
sha256sums=('1286005b14ef58ea5b7baece054e772761e6351fdeceadd3a69e0a7c8b9bf28e'
'39f30666783d28ccb0bdfe985738bb06c9545e6f0f42e3eba905da2d202de2f7')
2012-03-17 20:04:23 +00:00
_builddir="$pkgname-$pkgver"
build() {
cd "$_builddir"
2012-05-03 23:05:07 +00:00
# temporary fix from https://gist.github.com/2500616/654f1869da5698696ce60cb8a7fe3cae0f4dfd25
patch -p 1 -i ../protocol-fix.patch
2012-03-17 20:04:23 +00:00
make
}
package() {
cd "$_builddir"
make DESTDIR=$pkgdir PREFIX=/usr install
install -vDm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}