desktop/qmmp-plugin-pack/PKGBUILD
2017-12-30 14:05:45 +00:00

25 lines
785 B
Bash

pkgname=qmmp-plugin-pack
pkgver=1.2.0
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=('ff6fff38fcce205878d5f43e20f9d6493272731da6d38c3827c57791b90811e78f72df59bab3044c463155ecddf22c0e0052e1a3b966e0e88244b915dbb814a8')
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
}