mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
24 lines
698 B
Bash
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
|
|
}
|