aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cmus/APKBUILD
blob: 955733d563cf296320623d4e51cbe53a921972a0 (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
27
28
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: 
pkgname=cmus
pkgver=2.5.0
pkgrel=0
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() {
	cd "$_builddir"
	LDFLAGS="$LDFLAGS -liconv"
	CC=gcc ./configure prefix=/usr || return 1
	make || return 1
}

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

md5sums="9af16d324060447996ed25e1a9c1c7d8  cmus-v2.5.0.tar.bz2"