aboutsummaryrefslogtreecommitdiffstats
path: root/community/ncmpcpp/APKBUILD
blob: bf9da83f8c08c78d3177c745a5dd8f57770d4c49 (plain) (blame)
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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com>
pkgname=ncmpcpp
pkgver=0.9.1
pkgrel=0
pkgdesc="Ncurses based MPD client inspired by ncmpc"
url="http://rybczak.net/ncmpcpp"
arch="all"
license="GPL-2.0-or-later"
makedepends="boost-dev curl-dev libmpdclient-dev openssl-dev ncurses-dev
	readline-dev taglib-dev"
options="!check" # no tests suite
subpackages="$pkgname-doc"
source="http://rybczak.net/ncmpcpp/stable/ncmpcpp-$pkgver.tar.bz2"

build() {
	./configure \
		BOOST_LIB_SUFFIX=-mt \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-clock \
		--with-taglib \
		--enable-visualizer
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="8fa9f512ac09c144eab4e4721a9c54f3f411593fe13c26db12fbaa3ccf6b08d7cd54923e1e4148b2db45dc69431280611b2be2d153513c0d38eaf92af8ceb9fb  ncmpcpp-0.9.1.tar.bz2"