pkgname=audacious-uade pkgver=0.14.1 pkgrel=1 pkgdesc="UADE plugin for Audacious and DeaDBeeF" arch=('any') url="https://github.com/mvtiaine/audacious-uade" license=('GPL') depends=('audacious' 'libopenmpt') # libxmp and deadbeef in AUR optdepends=( 'libxmp: support for additional formats' 'deadbeef: DeaDBeeF plugin' ) makedepends=('which' 'make' 'pkg-config') source=(https://github.com/mvtiaine/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2) sha256sums=('b4fda083636edd623e949ec6cdb4435aef298c743a5423ae348537938188532e') build() { cd "$srcdir/$pkgname-$pkgver" ./configure \ --enable-plugin-audacious=yes \ --with-static-stdlibs=no \ --prefix=/usr make -j } check() { cd "$srcdir/$pkgname-$pkgver" make -j check } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }