summaryrefslogtreecommitdiff
path: root/extra/xmms/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xmms/PKGBUILD')
-rw-r--r--extra/xmms/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/extra/xmms/PKGBUILD b/extra/xmms/PKGBUILD
index 026657181..592ae820e 100644
--- a/extra/xmms/PKGBUILD
+++ b/extra/xmms/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 171126 2012-11-16 19:24:09Z eric $
+# $Id: PKGBUILD 197428 2013-10-25 19:50:15Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xmms
pkgver=1.2.11
-pkgrel=6
+pkgrel=7
pkgdesc="The X MultiMedia System - a multimedia player"
arch=('i686' 'x86_64')
url="http://legacy.xmms2.org/"
@@ -14,7 +14,6 @@ optdepends=('libmikmod: for the MikMod input plugin' \
'libvorbis: for the Ogg Vorbis input plugin' \
'alsa-lib: for the alsa output plugin' \
'libgl: for the OpenGL Spectrum analyser visualization plugin')
-options=('!libtool')
install=xmms.install
source=(http://legacy.xmms2.org/${pkgname}-${pkgver}.tar.bz2 \
xmms-menu.patch xmms-1.2.10-crossfade-0.3.9.patch xmms-fix.diff \
@@ -35,9 +34,8 @@ sha1sums=('9d1eae4baab25fd35c9ddfb49321ca60222f672d'
'f24071ae484d9b55e61dba076801fa8e7976ff2f'
'485c67cb8c8d4678bb3b0b280d2e233b14153b22')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
+prepare() {
+ cd ${pkgname}-${pkgver}
# Fix xmms.desktop
patch -p0 < ../xmms-menu.patch
# Patch for hang with xmms-crossfade
@@ -51,7 +49,10 @@ build() {
patch -p1 < ../xmms-1.2.10-fonts.patch
patch -p1 < ../xmms-1.2.11-CVE-2007-0653.0654.patch
patch -p1 < ../xmms-1.2.11-fix-mikmod-driver.patch
+}
+build() {
+ cd ${pkgname}-${pkgver}
if [ "$CARCH" == "i686" ]; then
SIMDOPT="--enable-simd"
else
@@ -62,7 +63,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -D -m644 xmms/xmms.desktop "${pkgdir}/usr/share/applications/xmms.desktop"