diff options
Diffstat (limited to 'extra/ncmpc/PKGBUILD')
-rw-r--r-- | extra/ncmpc/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/ncmpc/PKGBUILD b/extra/ncmpc/PKGBUILD index d6397c819..6759227fa 100644 --- a/extra/ncmpc/PKGBUILD +++ b/extra/ncmpc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 180582 2013-03-23 23:09:37Z td123 $ +# $Id: PKGBUILD 182640 2013-04-11 22:29:15Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -6,21 +6,25 @@ # Contributor: Daniel Bainton <dpb [at] backarrow.org> pkgname=ncmpc -pkgver=0.20 -pkgrel=2 +pkgver=0.21 +pkgrel=1 pkgdesc='Fully featured MPD client using ncurses' -url='http://mpd.wikia.com/wiki/Client:Ncmpc' +url='http://www.musicpd.org/clients/ncmpc/' arch=('i686' 'x86_64') 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') +source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('ec828bf17be6ab4c60c39bc91a3bd5cd93fac4a5') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -e 's#python#python2#' -i lyrics/30-leoslyrics.py +} build() { cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's#python#python2#' lyrics/30-leoslyrics.py ./configure \ --prefix=/usr \ --sysconfdir=/etc \ |