summaryrefslogtreecommitdiff
path: root/community/xwax/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xwax/PKGBUILD')
-rw-r--r--community/xwax/PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/xwax/PKGBUILD b/community/xwax/PKGBUILD
index cb9956ecb..81dfd7765 100644
--- a/community/xwax/PKGBUILD
+++ b/community/xwax/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 68434 2012-03-24 14:05:02Z lfleischer $
+# $Id: PKGBUILD 80901 2012-12-06 09:48:40Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: sputnick <gilles DOT quenot AT gmail DOT com>
pkgname=xwax
-pkgver=1.2
+pkgver=1.3
pkgrel=1
pkgdesc='Open-source vinyl emulation software for Linux.'
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ optdepends=('cdparanoia: for CD import'
'mpg123: for MP3 import'
'ffmpeg: for video fallback import')
source=("http://www.xwax.co.uk/releases/${pkgname}-${pkgver}.tar.gz")
-md5sums=('3be17f0021a791b52c7d097c6a686722')
+md5sums=('10c3b923eab17377705b1dea89edf6fb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -22,14 +22,11 @@ build() {
# patch "rig.c" to use Arch Linux's default rtprio value
sed -i 's/^#define REALTIME_PRIORITY 80/#define REALTIME_PRIORITY 65/' rig.c
- # patch installation path for "xwax-scan" and "xwax-import"
- sed -i "s#^EXECDIR = \$(PREFIX)/libexec#EXECDIR = \$(PREFIX)/share/${pkgname}#" Makefile
-
./configure --enable-alsa --prefix /usr
- make
+ make EXECDIR="/usr/share/${pkgname}"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make PREFIX="${pkgdir}/usr" install
+ make DESTDIR="${pkgdir}" EXECDIR="/usr/share/${pkgname}" install
}