desktop/qmmp-plugin-pack/PKGBUILD
2017-08-05 15:47:07 +01:00

25 lines
785 B
Bash

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