aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cmus
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-01-12 15:42:29 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-01-28 07:48:40 +0000
commitd60c1d41abdab662b165d1cd49029fcf99d4c3f5 (patch)
tree01e26e2d1597f46caee66068cafd6801308c2858 /testing/cmus
parent4f9690222280b49c0c1703750fe93dc09edf91f5 (diff)
downloadaports-d60c1d41abdab662b165d1cd49029fcf99d4c3f5.tar.bz2
aports-d60c1d41abdab662b165d1cd49029fcf99d4c3f5.tar.xz
testing/cmus: upgrade to 2.5.0
Diffstat (limited to 'testing/cmus')
-rw-r--r--testing/cmus/APKBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/testing/cmus/APKBUILD b/testing/cmus/APKBUILD
index 1507e0a080..955733d563 100644
--- a/testing/cmus/APKBUILD
+++ b/testing/cmus/APKBUILD
@@ -1,26 +1,28 @@
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
-
+# Maintainer:
pkgname=cmus
-pkgver=2.4.3
+pkgver=2.5.0
pkgrel=0
-pkgdesc='A very feature-rich ncurses-based music player'
-url='http://cmus.sourceforge.net/'
-license='GPL'
-arch='all'
-makedepends='alsa-lib-dev faad2-dev flac-dev libiconv-dev libmad-dev libogg-dev libvorbis-dev ncurses-dev wavpack-dev'
+pkgdesc="A very feature-rich ncurses-based music player"
+url="http://cmus.sourceforge.net/"
+license="GPL2+"
+arch="all"
+makedepends="alsa-lib-dev faad2-dev flac-dev libiconv-dev libmad-dev
+ libogg-dev libvorbis-dev ncurses-dev wavpack-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-v$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-v$pkgver
build() {
- LDFLAGS="$LDFLAGS -liconv"
- cd "$srcdir"/$pkgname-v$pkgver
- CC=gcc ./configure prefix=/usr
- make
+ cd "$_builddir"
+ LDFLAGS="$LDFLAGS -liconv"
+ CC=gcc ./configure prefix=/usr || return 1
+ make || return 1
}
package() {
- cd "$srcdir"/$pkgname-v$pkgver
- make DESTDIR="$pkgdir" install
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
}
-md5sums="75452cf007637214c4ab5444e076114b cmus-v2.4.3.tar.bz2"
+md5sums="9af16d324060447996ed25e1a9c1c7d8 cmus-v2.5.0.tar.bz2"