desktop/qmmp-plugin-pack/PKGBUILD
2015-10-02 17:35:51 +02:00

24 lines
698 B
Bash

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