diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index fa6ac56..68e796a 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -50,7 +50,7 @@ _depends=('alsa-lib: ALSA output' 'speex: Speex support' 'wavpack: WavPack support') depends=(glib2) -makedepends=("${_depends[@]%%:*}" libpulse python2 git perl-pod-parser) +makedepends=("${_depends[@]%%:*}" libpulse waf git perl-pod-parser) optdepends=("${_depends[@]}" 'pulseaudio: PulseAudio output') source=('git+https://github.com/xmms2/xmms2-devel#commit=dedc33d7408e140bce714c2c3eb5bcc793f1af6c' 'git+https://github.com/xmms2/xmms2-tutorial#commit=8ff8c66' @@ -82,18 +82,18 @@ prepare() { build() { cd xmms2-devel - CXXFLAGS="-Wall" CFLAGS="-Wall" python2 ./waf configure --prefix=/usr --sbindir=/usr/bin --without-ldconfig \ + CXXFLAGS="-Wall" CFLAGS="-Wall" waf configure --prefix=/usr --sbindir=/usr/bin --without-ldconfig \ --with-ruby-archdir=`ruby -e 'puts RbConfig::CONFIG["vendorarchdir"]'` \ --with-ruby-libdir=`ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]'` \ --with-perl-archdir=`perl -V:installvendorarch | cut -f2 -d\'` \ --with-optionals=launcher,xmmsclient++,xmmsclient++-glib,perl,ruby,nycli,pixmaps,et,mdns,medialib-updater,sqlite2s4 \ --without-optionals=python - python2 ./waf build + waf build } package() { cd xmms2-devel - python2 ./waf --destdir="$pkgdir" install + waf --destdir="$pkgdir" install cd "$srcdir" install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/xmms2.conf"