updated on Fri Jan 13 08:00:32 UTC 2012
[aur-mirror.git] / kgrab / PKGBUILD
blobc9f8ea0359d5c17f42cb9294697826a0705edb8c
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Pierre Schmitz <pierre@archlinux.de>
4 pkgname=kgrab
5 pkgver=0.1.1
6 pkgrel=3
7 pkgdesc="A fork of KSnapshot. With more funktions as Printing and a standard Menu."
8 arch=('i686' 'x86_64')
9 url='http://www.kde-apps.org/content/show.php/KGrab?content=74086'
10 license=('GPL')
11 depends=('kdebase-runtime')
12 makedepends=('pkgconfig' 'cmake' 'automoc4')
13 options=('docs')
14 install=${pkgname}.install
15 source=("http://www.kde-apps.org/CONTENT/content-files/74086-${pkgname}-${pkgver}.tar.bz2")
16 md5sums=('a014abf9e622832494b8092a8d1da59d')
18 build() {
19   cd $srcdir
20   mkdir build
21   cd build
22   cmake ../${pkgname} \
23     -DCMAKE_BUILD_TYPE=Release \
24     -DCMAKE_INSTALL_PREFIX=/usr
25   make
28 package() {
29   cd ${srcdir}/build
30   make DESTDIR=$pkgdir install