summaryrefslogtreecommitdiff
path: root/community/pianobar
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/pianobar
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/pianobar')
-rw-r--r--community/pianobar/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/pianobar/PKGBUILD b/community/pianobar/PKGBUILD
new file mode 100644
index 000000000..08500156d
--- /dev/null
+++ b/community/pianobar/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 93512 2013-07-04 21:18:29Z 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=2013.05.19
+pkgrel=1
+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/projects/pianobar/$pkgname-$pkgver.tar.bz2)
+sha256sums=('cf88e82663d2b0aa4d73e761506eac4f3e7bc789b57d92377acd994d785e1046')
+
+build() {
+ make -C "${srcdir}/${pkgname}-${pkgver}"
+}
+
+package() {
+ make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="$pkgdir" PREFIX=/usr install
+ install -Dm644 "${srcdir}/${pkgname}-${pkgver}"/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm755 $srcdir/$pkgname-$pkgver/contrib/headless_pianobar $pkgdir/usr/bin/pianoctl
+}