mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
38 lines
987 B
Bash
38 lines
987 B
Bash
|
#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
|
||
|
}
|