aboutsummaryrefslogtreecommitdiffstats
path: root/community/pianobar/APKBUILD
blob: f95856fdd29e47e20a78ce673ac870deaeae645f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=pianobar
pkgver=2018.06.22
pkgrel=1
pkgdesc="Commandline player for pandora webradio"
url="https://github.com/PromyLOPh/pianobar"
arch="all"
license="MIT"
makedepends="ffmpeg-dev libao-dev libgcrypt-dev gnutls-dev json-c-dev curl-dev"
subpackages="$pkgname-doc"
source="pianobar-${pkgver}.tar.gz::https://github.com/PromyLOPh/pianobar/archive/$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX="/usr"
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="d3da38ce8b029bd7d5066b910ddd7aedda6d357177c8c574b40fd52082f95aeb139119abc48a6f2cbd67c0ca4704d8bfa1168e32b7ebdb02b646a565a863ec51  pianobar-2018.06.22.tar.gz"