diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-05 01:57:42 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-05 01:57:42 -0500 |
commit | 1e703f85229e1a8e91700e6e329e3b7a6f95d3f3 (patch) | |
tree | a54bbdd5289a9c22364c865a79d3ac0874aa4dbc /main/pianobar | |
parent | 9503803780fe3098fb466b3312cfec70c9cc64e1 (diff) | |
download | aports-1e703f85229e1a8e91700e6e329e3b7a6f95d3f3.tar.bz2 aports-1e703f85229e1a8e91700e6e329e3b7a6f95d3f3.tar.xz |
main/pianobar: moved from testing
Diffstat (limited to 'main/pianobar')
-rw-r--r-- | main/pianobar/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/pianobar/APKBUILD b/main/pianobar/APKBUILD new file mode 100644 index 0000000000..b55d0b672d --- /dev/null +++ b/main/pianobar/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=pianobar +pkgver=2011.04.27 +pkgrel=0 +pkgdesc="commandline player for pandora webradio" +url="https://github.com/PromyLOPh/pianobar" +arch="all" +license="MIT" +depends= +depends_dev="faad2-dev libmad-dev libao-dev" +makedepends="$depends_dev wget" +install="" +subpackages="$pkgname-doc" +source="saveas-https://github.com/PromyLOPh/pianobar/tarball/${pkgver}/pianobar-${pkgver}.tar.gz" + +_builddir="${srcdir}/PromyLOPh-pianobar-ab5b89a" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make CC='gcc -std=c99' PREFIX="/usr" || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" PREFIX="/usr" install || return 1 +} + +md5sums="344d4c6957198357bf263629650f0597 pianobar-2011.04.27.tar.gz" |