summaryrefslogtreecommitdiff
path: root/extra/ncmpc
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-25 10:08:30 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-25 10:08:30 +0100
commit3ffe7613c97fecff8c5710dfbd44a984eaae9adc (patch)
tree35a12d280fa79d40862ced37a5908a566e1bdc39 /extra/ncmpc
parent0a91993304168ce808fbb7eca986e03262ccb692 (diff)
parent32793d9a5b60ef0591c71c12ad75121d9b155adf (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/newsbeuter/PKGBUILD community/ruby-gtk2/PKGBUILD community/ruby-ncurses/PKGBUILD community/subtle/PKGBUILD extra/gegl/PKGBUILD extra/libebml/PKGBUILD extra/libmatroska/PKGBUILD extra/ncmpc/PKGBUILD extra/nx/PKGBUILD extra/qtwebkit/PKGBUILD
Diffstat (limited to 'extra/ncmpc')
-rw-r--r--extra/ncmpc/PKGBUILD41
1 files changed, 20 insertions, 21 deletions
diff --git a/extra/ncmpc/PKGBUILD b/extra/ncmpc/PKGBUILD
index 1db460479..f9c9dcec1 100644
--- a/extra/ncmpc/PKGBUILD
+++ b/extra/ncmpc/PKGBUILD
@@ -1,37 +1,36 @@
-# $Id: PKGBUILD 150715 2012-02-21 01:22:44Z angvp $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $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=1.1
-pkgdesc="A ncurses (command line) interface for MPD"
-arch=("i686" "x86_64" 'mips64el')
-url="http://mpd.wikia.com/wiki/Client:Ncmpc"
+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')
+ 'ruby: to enable lyrics plugin')
source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('62b9df0263d9567babf7446c258acc5d')
+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
+ 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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ for i in lyrics/*; do install -Dm755 "$i" "${pkgdir}/usr/share/ncmpc/$i"; done
}