pkgname=qmmp-plugin-pack pkgver=1.0.1 pkgrel=1 pkgdesc="Qmmp Plugin Pack" arch=('x86_64') url="http://qmmp.ylsoftware.com" license=('GPL') depends=("qmmp>=1.0.0") makedepends=('cmake' 'yasm') optdepends=('mpg123: for mpg123 plugin') source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2) sha512sums=('9b7bb22a2655c49be232374637de125cbe9aee50d03f33e2d4b2af37dcc7a8362a21112d3bd111e054c5ea2145e030e40aaa1819e0e714e59df9bfa57efab051') 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 }