summaryrefslogtreecommitdiff
path: root/extra/xmms
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-26 01:22:45 -0700
committerroot <root@rshg054.dnsready.net>2013-10-26 01:22:45 -0700
commit24152c3ea77087edccf017c13d44904a75799ff7 (patch)
tree65e25106816e5071dd5b2edc2270e0138c23dc7c /extra/xmms
parent5a3821aec094b38a412cf5e6997c08b6428d6f77 (diff)
Sat Oct 26 01:21:13 PDT 2013
Diffstat (limited to 'extra/xmms')
-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"