blob: f9c9dcec116f03a7756f266303a910982199e5a0 (
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
|
# $Id: PKGBUILD 180582 2013-03-23 23:09:37Z td123 $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Daniel Bainton <dpb [at] backarrow.org>
pkgname=ncmpc
pkgver=0.20
pkgrel=2
pkgdesc='Fully featured MPD client using ncurses'
url='http://mpd.wikia.com/wiki/Client:Ncmpc'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('ncurses' 'glib2' 'libmpdclient')
optdepends=('python2: to enable lyrics plugin'
'ruby: to enable lyrics plugin')
source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('da106de4b11a48eb2d63619da1316713f95cc9cb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's#python#python2#' lyrics/30-leoslyrics.py
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-lyrics-screen \
--with-lyrics-plugin-dir=/usr/share/ncmpc/lyrics
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
for i in lyrics/*; do install -Dm755 "$i" "${pkgdir}/usr/share/ncmpc/$i"; done
}
|