summaryrefslogtreecommitdiff
path: root/community/pianobar/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pianobar/PKGBUILD')
-rw-r--r--community/pianobar/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/pianobar/PKGBUILD b/community/pianobar/PKGBUILD
new file mode 100644
index 000000000..e030c46f0
--- /dev/null
+++ b/community/pianobar/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 72823 2012-06-22 22:35:27Z dwallace $
+# Maintainer: Daniel Wallace < danielwallace at gtmanfred dot com>
+# Contributor: Mitch Bigelow <ipha00@gmail.com>
+# Contributor: Patrick Palka <patrick@parcs.ath.cx>
+
+pkgname=pianobar
+pkgver=2012.05.06
+pkgrel=3
+pkgdesc="console-based frontend for Pandora"
+url="http://6xq.net/0017"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('libao' 'faad2' 'libmad' 'gnutls' 'json-c' 'libgcrypt')
+source=(http://6xq.net/media/00/16/pianobar-$pkgver.tar.bz2)
+sha256sums=('b143882ca50303d560f49567d1a508ca4b48208db4eb8aa67f369fcaae708d7a')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}