diff options
author | ptrv | 2015-11-06 00:41:26 +0100 |
---|---|---|
committer | ptrv | 2015-11-06 00:41:26 +0100 |
commit | 69f46c3b0a83b2424a44b0abf4b8385a1aea05f8 (patch) | |
tree | dec383876ff2297a5cfbe7fd99a54ebaeb0978e7 /PKGBUILD | |
download | aur-xwax-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..16c8f1bc5e4f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Peter Vasil <mail@petervasil.net> +# Contributor: Lukas Fleischer <lfleischer@archlinux.org> +# Contributor: sputnick <gilles DOT quenot AT gmail DOT com> + +pkgname=xwax-git +_name=xwax +pkgver=1.6.beta2 +pkgrel=1 +pkgdesc='Open-source vinyl emulation software for Linux.' +arch=('i686' 'x86_64') +url='http://www.xwax.co.uk/' +license=('GPL') +depends=('alsa-lib' 'sdl_ttf' 'ttf-dejavu' 'jack') +optdepends=('cdparanoia: for CD import' + 'mpg123: for MP3 import' + 'ffmpeg: for video fallback import') +source=("${pkgname}::git+http://xwax.org/devel/xwax.git") +md5sums=('SKIP') +conflicts=('xwax') +provides=('xwax') + +pkgver() { + cd "${srcdir}/${pkgname}" + git describe | sed 's/^v//;s/-/./g;s/_/./g;' +} + +build() { + cd "${srcdir}/${pkgname}" + + # patch "rig.c" to use Arch Linux's default rtprio value + sed -i 's/^#define REALTIME_PRIORITY 80/#define REALTIME_PRIORITY 65/' rig.c + + ./configure --enable-alsa --enable-jack --prefix /usr + make EXECDIR="/usr/share/${_name}" +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR="${pkgdir}" EXECDIR="/usr/share/${_name}" install +} |