# $Id: PKGBUILD 204218 2014-01-15 10:18:38Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdesdk-kapptemplate pkgver=4.12.1 pkgrel=1 pkgdesc='KDE Template Generator' url='http://kde.org/applications/development/kapptemplate/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdesdk') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kapptemplate-${pkgver}.tar.xz") sha1sums=('66afaef97c616652f0848af4f4c0044647c4575b') build() { mkdir build cd build cmake ../kapptemplate-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR=$pkgdir install }