PKGBUILD 1.32 KB
Newer Older
totte's avatar
totte committed
1
# Include global configuration
Manuel's avatar
Manuel committed
2

3
pkgname="kcron"
Manuel's avatar
Manuel committed
4
arch=('x86_64')
totte's avatar
totte committed
5
pkgver=19.08.2
6
pkgrel=3
7 8
url="http://userbase.kde.org/KCron"
screenshot='https://userbase.kde.org/File:Kcron-screenshot-de.png'
9
license=('GPL' 'LGPL' 'FDL')
Manuel's avatar
Manuel committed
10
pkgdesc="Crontab editor"
11 12
depends=("kio")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
13
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeadmin')
14 15 16
conflicts=("kdeadmin-kcron")
replaces=("kdeadmin-kcron")
provides=("kdeadmin-kcron")
17
options=('docs' 'debug')
18
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
totte's avatar
totte committed
19
sha256sums=('270ee81cba5ef9d92158a3fc71cf8c50c658468018eb0415c9d3d0bc7abea5e5'
Luca Giambonini's avatar
Luca Giambonini committed
20
            'SKIP')
21 22
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
Manuel's avatar
Manuel committed
23

24
prepare() {
25
  mkdir -p build
26 27
}

Manuel's avatar
Manuel committed
28
build() {
29
  cd build
30 31 32 33 34 35 36 37 38
  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 "$@"
39
  make
Manuel's avatar
Manuel committed
40 41 42
}

package() {
43 44
  cd build
  make DESTDIR=${pkgdir} install
Manuel's avatar
Manuel committed
45
}