aboutsummaryrefslogtreecommitdiffstats
path: root/community/pianobar/APKBUILD
blob: 1ee026e49e1a00785f08ab1365be6589ecdee599 (plain)
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: 
# Maintainer: 
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"