mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
24 lines
696 B
Bash
24 lines
696 B
Bash
pkgname=qmmp-plugin-pack
|
|
pkgver=1.0.2
|
|
pkgrel=1
|
|
pkgdesc="Qmmp Plugin Pack"
|
|
arch=('x86_64')
|
|
url="http://qmmp.ylsoftware.com"
|
|
license=('GPL')
|
|
depends=("qmmp>=1.0.0")
|
|
makedepends=('cmake' 'yasm')
|
|
optdepends=('mpg123: for mpg123 plugin')
|
|
source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2)
|
|
sha512sums=('268e7cdb5e88f7f15f407df4b2d353c20d8477acc67607485500e0f3eee6bff259a2aac180d3e591dfd15750e495c5f1e0f645704fbe59fa398bfdd7d3f38f5f')
|
|
|
|
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
|
|
}
|