aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: 09c8e5d28fb10e33f6acbb2ab9d7686187f77408 (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
45
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com>
pkgname=ncmpcpp
pkgver=0.7.7
pkgrel=0
pkgdesc="An almost exact clone of ncmpc with some new features."
url="http://rybczak.net/ncmpcpp"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="boost-dev readline-dev curl-dev libmpdclient-dev
	taglib-dev ncurses-dev libressl-dev"
install=""
subpackages="$pkgname-doc"
source="http://rybczak.net/ncmpcpp/stable/$pkgname-$pkgver.tar.bz2"

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

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

md5sums="8a44de577fcf8b7a7063d0c5bf47298f  ncmpcpp-0.7.7.tar.bz2"
sha256sums="b7bcbec83b1f88cc7b21f196b10be09a27b430566c59f402df170163464d01ef  ncmpcpp-0.7.7.tar.bz2"
sha512sums="a0bbe85f154c40513d41e85810de86ed21109b72fb0f2bdb0b78dcbddb3770aff5422b5bb7fbac2b76634c5b9aaf843bed5fc16fc672fcd71bbae911f65c0034  ncmpcpp-0.7.7.tar.bz2"