summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5ab3802ed67458e54f37474722c00bfdd01fcfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Andrew Panchenko <panchenkoac at gmail>
# Maintainer: ava1ar <mail(at)ava1ar(dot)me>

pkgname=qmmp-plugin-pack
pkgver=2.1.0
pkgrel=1
pkgdesc="Qmmp Plugin Pack"
arch=('i686' 'x86_64')
url="http://qmmp.ylsoftware.com"
license=('GPL')
depends=("qmmp>=$pkgver" 'taglib>=1.7.0' 'mpg123>=1.13.0' 'libxmp>=4.2.0')
makedepends=('cmake>=2.8.6' 'yasm' 'qt6-tools')
source=(http://qmmp.ylsoftware.com/files/qmmp-plugin-pack/2.1/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('646f8d488e1b8e300e1bda1bf9e58df77437c593')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    [[ -d _build ]] && rm -r _build
    mkdir _build && cd _build

    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE ../
    make
}

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