summaryrefslogtreecommitdiff
path: root/community/cmus
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-24 03:30:57 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-24 03:30:57 +0000
commit431023a318e680258f02c1fb5fdca176c68e5cb7 (patch)
treecedbdd37d2a93310636cf71c781041a2b5ee68a3 /community/cmus
parent0459e6459ee534bf22ab8a5381cd485e6035e9e2 (diff)
Thu Apr 24 03:25:33 UTC 2014
Diffstat (limited to 'community/cmus')
-rw-r--r--community/cmus/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/cmus/PKGBUILD b/community/cmus/PKGBUILD
index cd113b131..5eb58b8df 100644
--- a/community/cmus/PKGBUILD
+++ b/community/cmus/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 104366 2014-01-19 16:29:30Z bpiotrowski $
+# $Id: PKGBUILD 110084 2014-04-23 20:55:16Z xyne $
# Maintainer: Xyne <ca dot archlinux at xyne, backwards>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Aaron Griffin <aaron@archlinux.org>
@@ -6,10 +6,10 @@
pkgname=cmus
pkgver=2.5.0
-pkgrel=5
+pkgrel=7
pkgdesc='Very feature-rich ncurses-based music player'
arch=('i686' 'x86_64')
-url="http://cmus.sourceforge.net/"
+url="https://cmus.github.io/"
license=('GPL')
depends=('ncurses')
makedepends=(
@@ -30,7 +30,7 @@ optdepends=('alsa-lib: for ALSA output plugin support'
'libcdio-paranoia: for cdio support'
'opusfile: for opus input plugin support'
'wavpack: for wavpack input plugin support')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-v$pkgver.tar.bz2
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-v$pkgver.tar.bz2
cmus-2.5.0-opus-support.patch
cdio-git.patch)
sha1sums=('244975a5ff642567acb047f6bd518e4a3271c25b'
@@ -43,6 +43,9 @@ prepare() {
patch -Np1 -i "$srcdir/cmus-2.5.0-opus-support.patch"
# Include changes from git for compatibility with new cdio.
patch -N -i "$srcdir/cdio-git.patch"
+
+ # Quick fix for modplug header.
+ sed -i 's@<modplug.h>@<libmodplug/modplug.h>@' "$srcdir/$pkgname-v$pkgver/modplug.c"
}
build() {