From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/ncmpc/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 extra/ncmpc/PKGBUILD (limited to 'extra/ncmpc/PKGBUILD') diff --git a/extra/ncmpc/PKGBUILD b/extra/ncmpc/PKGBUILD new file mode 100644 index 000000000..21763b763 --- /dev/null +++ b/extra/ncmpc/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 92103 2010-09-29 06:29:55Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: damir +# Contributor: Daniel Bainton + +pkgname=ncmpc +pkgver=0.18 +pkgrel=2 +pkgdesc="A ncurses (command line) interface for MPD" +arch=("i686" "x86_64") +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=('9f07e8289b710c7c41b3c80ba73fed76') + +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 +} -- cgit v1.2.3-54-g00ecf