PKGBUILDs/extra/qimageblitz/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
772 B
Bash

# $Id: PKGBUILD 17154 2008-10-26 08:49:56Z pierre $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=qimageblitz
pkgver=0.0.5
pkgrel=1
pkgdesc="An interm image effect library"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/qimageblitz"
license=('custom')
depends=('qt>=4.4.3')
makedepends=('cmake' 'pkgconfig')
source=("ftp://ftp.archlinux.org/other/qimageblitz/${pkgname}-${pkgver}.tar.bz2")
md5sums=('5a6c718a56643ffe1f347410bdcca64d')
options=(!libtool)
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=${pkgdir} install
install -m644 -D ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}