blob: c4b433f55545a195b9629f232930ad7772337b8b (
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
|
# $Id: PKGBUILD 132708 2011-07-25 01:06:16Z angvp $
# Maintainer: 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.19
pkgrel=1
pkgdesc="A ncurses (command line) interface for MPD"
arch=("i686" "x86_64" 'mips64el')
url="http://mpd.wikia.com/wiki/Client:Ncmpc"
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")
md5sums=('d298ad1313ef3a522ef03367f8a1ffc0')
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
install -d ${pkgdir}/usr/share/ncmpc/lyrics
install -m755 lyrics/{10-hd.sh,15-leoslyrics.sh,20-lyricwiki.rb,30-leoslyrics.py} \
${pkgdir}/usr/share/ncmpc/lyrics
}
|