From 2d909595dbff51da90310bb4492e2f0ba08c924b Mon Sep 17 00:00:00 2001 From: Neophytos Kolokotronis Date: Wed, 29 Apr 2015 14:13:45 +0000 Subject: [PATCH] kapptemplate: 15.04 --- kapptemplate/PKGBUILD | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/kapptemplate/PKGBUILD b/kapptemplate/PKGBUILD index d02bdeeb9..b7bf8e8f4 100644 --- a/kapptemplate/PKGBUILD +++ b/kapptemplate/PKGBUILD @@ -1,5 +1,5 @@ #Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kapptemplate -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf +source ../kdeapps.conf pkgname="kapptemplate" arch=('x86_64') @@ -8,7 +8,7 @@ pkgrel=1 pkgdesc="KDE application template generator" screenshot="http://www.kde.org/images/screenshots/kapptemplate.png" depends=('kio') -makedepends=('extra-cmake-modules' 'kdoctools' 'python') +makedepends=('extra-cmake-modules' 'kdoctools' 'python3') replaces=('kdesdk-kapptemplate') conflicts=('kdesdk-kapptemplate') provides=('kdesdk-kapptemplate') @@ -18,20 +18,17 @@ 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 +prepare() { + mkdir -p build } build() { cd build - cmake ../kapptemplate-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_TESTING=OFF \ - -DCMAKE_INSTALL_PREFIX=/usr + cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd build - make DESTDIR="$pkgdir" install + make DESTDIR="${pkgdir}" install }