aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: a16ab22f72c8d5d5eac21b01d417bb01938bfb4c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncmpcpp
pkgver=0.5.10
pkgrel=1
pkgdesc="An almost exact clone of ncmpc with some new features."
url="http://unkart.ovh.org/ncmpcpp/"
arch="all"
license="GPL2+"
makedepends="curl-dev libmpdclient-dev taglib-dev ncurses-dev openssl-dev"
subpackages="$pkgname-doc"
source="http://ncmpcpp.rybczak.net/stable/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"
sha256sums="ff6d5376a2d9caba6f5bb78e68af77cefbdb2f04cd256f738e39f8ac9a79a4a8  ncmpcpp-0.5.10.tar.bz2"
sha512sums="8ddbc05bd8f3febe80cc5c04992a02f8c86151bb171f8f2e46e8df79210f9445e73fd65bdcaa397b3039ebcf510c6bb6ef61be790a6dcf07d5e35e59f71f3702  ncmpcpp-0.5.10.tar.bz2"