#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kapptemplate source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname="kapptemplate" arch=('x86_64') pkgver=${_kdever} pkgrel=1 pkgdesc="KDE application template generator" screenshot="http://www.kde.org/images/screenshots/kapptemplate.png" depends=('kio') makedepends=('extra-cmake-modules' 'kdoctools' 'python') replaces=('kdesdk-kapptemplate') conflicts=('kdesdk-kapptemplate') provides=('kdesdk-kapptemplate') categories=('programming') install=${pkgname}.install license=('GPL' 'LGPL' 'FDL') source=("$_mirror/${pkgname}-$_kdever.tar.xz") sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`) prepare(){ mkdir -p build } build() { cd build cmake ../kapptemplate-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="$pkgdir" install }