blob: 8ce2b21096eb247d61b70bab4140affd2f962daa (
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>
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=ncmpc
pkgver=0.25
pkgrel=1
pkgdesc="Fully featured MPD client using ncurses"
url="http://www.musicpd.org/clients/ncmpc/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="ncurses-dev glib-dev libmpdclient-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg"
source="http://www.musicpd.org/download/${pkgname}/0/${pkgname}-${pkgver}.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-lyrics-screen \
--with-lyrics-plugin-dir=/usr/share/$pkgname/lyrics \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/share/$pkgname/lyrics
install -m755 lyrics/* \
"$pkgdir"/usr/share/$pkgname/lyrics \
|| return 1
}
sha512sums="8c871db367a70ec3b68c1337d6ec26b8ca4982cd11f674abd17bf6c5df429d366a7b531f8668d4665688b5ae9a4f5f2ba92bb1a36cf491bf8dd3f8874699b0b3 ncmpc-0.25.tar.xz"
|