summaryrefslogtreecommitdiff
path: root/extra/qimageblitz/PKGBUILD
blob: b8defa8edcf34fd7f30a477c7e25bf3023af1a4f (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
30
31
# $Id: PKGBUILD 145862 2012-01-03 12:41:58Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=qimageblitz
pkgver=0.0.6
pkgrel=2.1
pkgdesc="A graphical effect and filter library for KDE"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde.org/"
license=('GPL2')
depends=('qt')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('0ae2f7d4e0876764a97ca73799f61df4')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  CXX="g++" \
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr 
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}