PKGBUILD 1.2 KB
Newer Older
1 2 3
# Include global configuration

pkgname=kdebugsettings
Luca Giambonini's avatar
Luca Giambonini committed
4
pkgver=19.04.1
Luca Giambonini's avatar
Luca Giambonini committed
5
pkgrel=1
6 7 8 9 10 11 12 13
pkgdesc='An application to enable/disable qCDebug'
arch=('x86_64')
url='http://projects.kde.org/kdebugsettings'
license=(GPL)
depends=(kconfigwidgets kio)
makedepends=(extra-cmake-modules python3)
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeutils')
options=('docs' 'debug')
14
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
Luca Giambonini's avatar
Luca Giambonini committed
15
sha256sums=('f04334f954d48fbd5a7bf41327563081966fb31950c131a943cf0a1a86281aa2'
Luca Giambonini's avatar
Luca Giambonini committed
16
            'SKIP')
17 18
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
19 20 21 22 23 24 25

prepare() {
  mkdir -p build
}

build() {
  cd build
26 27 28 29 30 31 32 33 34
  cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
        -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
35 36 37 38 39 40 41 42
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}