pkgname=qmmp-plugin-pack pkgver=1.1.3 pkgrel=1 pkgdesc="Qmmp Plugin Pack" arch=('x86_64') url="http://qmmp.ylsoftware.com" license=('GPL') depends=("qmmp>=1.0.0") makedepends=('cmake' 'yasm' 'mpg123' 'libsamplerate') optdepends=('mpg123: for mpg123 plugin' 'libsamplerate: libsamplerate-based sample rate converter') source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2) sha512sums=('05d412da4b0c892b415c7e6a8248c90196da5544be027fac32a051c2e3a187f089e57086ca6858d7591bc7b81838e2ac5e4019d418c95ff3bfb4f7a100f8ecae') build() { cd "${srcdir}/${pkgname}-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }