summaryrefslogtreecommitdiff
path: root/community/cmus
diff options
context:
space:
mode:
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() {