aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: c4678b6d778a5585a62e871bff129087b30684fe (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncmpcpp
pkgver=0.5.10
pkgrel=0
pkgdesc="An almost exact clone of ncmpc with some new features."
url="http://unkart.ovh.org/ncmpcpp/"
arch="all"
license="GPL"
makedepends="curl-dev libmpdclient-dev taglib-dev ncurses-dev openssl-dev"
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 \
	|| return 1
	make || return 1
}

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

md5sums="298ed66325bcfe358e37e186c7ea4861  ncmpcpp-0.5.10.tar.bz2"