diff options
Diffstat (limited to 'testing/cmus/APKBUILD')
-rw-r--r-- | testing/cmus/APKBUILD | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/testing/cmus/APKBUILD b/testing/cmus/APKBUILD index 1507e0a08..955733d56 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" |