desktop/qmmp-plugin-pack/PKGBUILD
2018-04-23 23:59:03 +01:00

25 lines
785 B
Bash

pkgname=qmmp-plugin-pack
pkgver=1.2.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' '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=('8b3b99816c426b520be4149ee067ab6ae38f78318a4752bc1dbe5169e77aec0148206e5e7ef4cff7b750a9f7d14d8ea164901d9df588a0a6ddf35a9648cf82b2')
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
}