summaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: 0c3923a59a1363ef69a76ce48f9e0ec54405dd39 (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
29
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncmpcpp
pkgver=0.5.7
pkgrel=0
pkgdesc="An almost exact clone of ncmpc with some new features."
url="http://unkart.ovh.org/ncmpcpp/"
arch="all"
license="GPL"
depends=""
makedepends="curl-dev libmpdclient-dev taglib-dev ncurses-dev openssl-dev"
install=
subpackages="$pkgname-doc"
source="http://unkart.ovh.org/ncmpcpp/ncmpcpp-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build () 
{ 
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--enable-unicode \
		--enable-clock \
		--with-taglib --with-curl
	make
}

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

md5sums="6632c76f2f0836c5aa5a1a2fbb1c921c  ncmpcpp-0.5.7.tar.bz2"