aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: 76ac9157b8c45a22ae2cbb4ffa6af10522db954a (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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncmpcpp
pkgver=0.6.7
pkgrel=0
pkgdesc="An almost exact clone of ncmpc with some new features."
url="http://ncmpcpp.rybczak.net/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="boost-dev readline-dev curl-dev libmpdclient-dev
	taglib-dev ncurses-dev openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://ncmpcpp.rybczak.net/stable/ncmpcpp-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build () {
	cd "$srcdir/$pkgname-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-unicode \
		--enable-clock \
		--with-taglib \
		--with-curl \
		|| return 1
	make || return 1
}

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

md5sums="bc84461107649f4f259fff3ad4a36839  ncmpcpp-0.6.7.tar.bz2"
sha256sums="08807dc515b4e093154a6e91cdd17ba64ebedcfcd7aa34d0d6eb4d4cc28a217b  ncmpcpp-0.6.7.tar.bz2"
sha512sums="2161a9799c218fe506aa7645338c6e5b32bc6fcb8ee5bcdc76484a068242ae39fd884ece845e1c2f895305d2e6867a3074c266548322f80766c1b8dfeb5d39bb  ncmpcpp-0.6.7.tar.bz2"