aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: e73ff8a40098d83b406522da385a8ecaad215c08 (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.8
pkgrel=2
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="90b5b22a6365c17bc7d75c05d2117413  ncmpcpp-0.6.8.tar.bz2"
sha256sums="ee81f3fdb2a4b670b5e2617f6489f154e69a552e68fc550b1e20ad85f526e692  ncmpcpp-0.6.8.tar.bz2"
sha512sums="e474bd4122212c34d7043adf7b68aeaaa2e9b5a999840b7e8632d251bdab17f5314fca03bdf2b8eee5de2572d3e5c602d87a1f89889ab7c747321e4272f63ebc  ncmpcpp-0.6.8.tar.bz2"