# $Id: PKGBUILD 113808 2014-06-30 18:03:21Z dwallace $ # Maintainer: Daniel Wallace < danielwallace at gtmanfred dot com> # Contributor: Mitch Bigelow # Contributor: Patrick Palka pkgname=pianobar pkgver=2014.06.08 pkgrel=1 pkgdesc="console-based frontend for Pandora" url="http://6xq.net/0017" arch=('i686' 'x86_64') license=('MIT') depends=('libao' 'ffmpeg') source=(http://6xq.net/projects/pianobar/$pkgname-$pkgver.tar.bz2) sha256sums=('3348b4bdfa9959bc7aeb03ff6ff66e334f8efc78a84261558f18f5fbd543ed2b') 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 }