aboutsummaryrefslogtreecommitdiffstats
path: root/main/pianobar/APKBUILD
blob: b46f61c787a6de74c22197b34b472e62f55bbf0f (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
27
28
29
30
31
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=pianobar
pkgver=2015.11.22
pkgrel=0
pkgdesc="commandline player for pandora webradio"
url="https://github.com/PromyLOPh/pianobar"
arch="all"
license="MIT"
depends=
depends_dev="ffmpeg-dev libao-dev libgcrypt-dev gnutls-dev json-c-dev curl-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="pianobar-${pkgver}.tar.gz::https://github.com/PromyLOPh/pianobar/archive/$pkgver.tar.gz
	"

_builddir="$srcdir"/pianobar-$pkgver
build() {
	cd "$_builddir"
	make PREFIX="/usr" || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1
}

md5sums="c07f31075331a16cdf4caa216ea500ff  pianobar-2015.11.22.tar.gz"
sha256sums="db7142a817ceb674d3057e847542754117b5a0ea41780c3c9c1b77b852704d08  pianobar-2015.11.22.tar.gz"
sha512sums="2e850eb5cc2d127744d0f45688c52dcf2a8f36bd4f17cf57d6c038a5285b51f1de8951c8e4f2d44d9450ac43c649dd5f6d2a0e7e8d7382f9e6b9e0f142ae9a43  pianobar-2015.11.22.tar.gz"