desktop/kde-dev-utils/PKGBUILD
2019-02-08 16:01:56 +01:00

39 lines
1.2 KiB
Bash

# Include global configuration
pkgname=kde-dev-utils
pkgver=18.12.2
pkgrel=1
arch=(x86_64)
pkgdesc="KDE Standard Development Toolkit Utilities"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
groups=("kde" "kdesdk" "kde-uninstall")
options=('docs' 'debug')
depends=(kparts qt5-tools)
makedepends=(extra-cmake-modules python3)
provides=('kmtrace' 'kpartloader' 'kprofilemethod' 'kstartperf' 'kuiviewer')
conflicts=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod' 'kdesdk-kstartperf' 'kdesdk-kuiviewer')
replaces=('kdesdk-kmtrace' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod' 'kdesdk-kstartperf' 'kdesdk-kuiviewer')
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('13451d91dde98f97f5a86803076c18659d5e37dff42fc3d0dde75c43b6705f47'
'SKIP')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}