mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname="kde-dev-scripts"
|
|
arch=('x86_64')
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="Extra scripts for the KDE SDK"
|
|
depends=("kde-runtime" 'python' 'kdelibs4support')
|
|
conflicts=("kdesdk-doc" "kdesdk-scripts")
|
|
provides="kdesdk-scripts"
|
|
replaces="kdesdk-scripts"
|
|
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
|
|
categories=('programming')
|
|
install=kdesdk.install
|
|
url="http://www.kde.org"
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
options=('docs' 'debug')
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'extra-cmake-modules' 'kdoctools')
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
|
'SKIP')
|
|
validpgpkeys=(${Avalidpgpkeys[@]})
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
cmake . \
|
|
-DCMAKE_BUILD_TYPE=${_build_type} \
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|