aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ncmpcpp/APKBUILD
blob: c184556da8d91fb4c24b354e020bc89e454cd734 (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
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.5
pkgrel=3
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 "$srcdir/$pkgname-$pkgver"
    ./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="2edae67445a925175e75c223edc95ce7  ncmpcpp-0.7.5.tar.bz2"
sha256sums="7e4f643020b36698462879013a8b16111f8c3a4c5819cf186aed78032a41e07d  ncmpcpp-0.7.5.tar.bz2"
sha512sums="5f3b370a5a8fdc05e85a7b748debd960c0e76d5b9e43717efceaa985baa0c543d14d8b0fd7b09550111bff3aa66ec290d6cd2c0ec21de7a0caa10df1c68c99c8  ncmpcpp-0.7.5.tar.bz2"