PKGBUILD 798 Bytes
Newer Older
Jeff Huang's avatar
Jeff Huang committed
1
pkgname=qmmp-plugin-pack
2 3
pkgver=1.3.1
pkgrel=1
4 5 6 7
pkgdesc="Qmmp Plugin Pack"
arch=('x86_64')
url="http://qmmp.ylsoftware.com"
license=('GPL')
gnastyle's avatar
gnastyle committed
8
depends=("qmmp>=1.0.0")
Jeff Huang's avatar
Jeff Huang committed
9 10 11
makedepends=('cmake' 'yasm' 'mpg123' 'libsamplerate')
optdepends=('mpg123: for mpg123 plugin'
	    'libsamplerate: libsamplerate-based sample rate converter')
12
source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2)
13
sha512sums=('9d0c77a2d4c69b8a4210b74d2e3bf6818a4c180496258f5d3aa1fb9703837aad842e3a5647c9beb35febf420abbf69387ecbe218fbfce98627320789aacde39e')
14 15 16

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
17
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE
18 19 20 21 22 23 24
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}