desktop/qmmp-plugin-pack/PKGBUILD

24 lines
696 B
Bash
Raw Normal View History

2015-06-07 21:54:18 +08:00
pkgname=qmmp-plugin-pack
2015-12-20 21:59:18 +08:00
pkgver=1.0.2
2013-06-07 17:35:42 +08:00
pkgrel=1
pkgdesc="Qmmp Plugin Pack"
arch=('x86_64')
url="http://qmmp.ylsoftware.com"
license=('GPL')
2015-10-10 20:46:59 +08:00
depends=("qmmp>=1.0.0")
2015-06-07 21:54:18 +08:00
makedepends=('cmake' 'yasm')
optdepends=('mpg123: for mpg123 plugin')
2013-06-07 17:35:42 +08:00
source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2)
2015-12-20 21:59:18 +08:00
sha512sums=('268e7cdb5e88f7f15f407df4b2d353c20d8477acc67607485500e0f3eee6bff259a2aac180d3e591dfd15750e495c5f1e0f645704fbe59fa398bfdd7d3f38f5f')
2013-06-07 17:35:42 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2014-04-07 00:36:12 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE
2013-06-07 17:35:42 +08:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}