[arch-commits] Commit in ncmpc/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Sun Mar 3 07:51:53 UTC 2013


    Date: Sunday, March 3, 2013 @ 08:51:52
  Author: bisson
Revision: 179082

rebuild for ruby-2.0.0

Modified:
  ncmpc/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-03 07:51:12 UTC (rev 179081)
+++ PKGBUILD	2013-03-03 07:51:52 UTC (rev 179082)
@@ -1,37 +1,36 @@
 # $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org> 
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org> 
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
 # Contributor: Daniel Bainton <dpb [at] backarrow.org>
 
 pkgname=ncmpc
 pkgver=0.20
-pkgrel=1
-pkgdesc="A ncurses (command line) interface for MPD"
-arch=("i686" "x86_64")
-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')
 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
 }




More information about the arch-commits mailing list