summaryrefslogtreecommitdiffstats
path: root/testing/cmus/APKBUILD
blob: 88decd21eb614a91a3f2ff5b9d9cae3b838e7e69 (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
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>

pkgname=cmus
pkgver=2.4.3
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'
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-v$pkgver.tar.bz2"

build() {
    LDFLAGS="$LDFLAGS -liconv"
    cd "$srcdir"/$pkgname-v$pkgver
    ./configure prefix=/usr
    make
}

package() {
    cd "$srcdir"/$pkgname-v$pkgver
    make DESTDIR="$pkgdir" install
}

md5sums="75452cf007637214c4ab5444e076114b  cmus-v2.4.3.tar.bz2"