desktop/kdeadmin-kcron/PKGBUILD

38 lines
851 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname="kcron"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
url="http://userbase.kde.org/KCron"
screenshot='https://userbase.kde.org/File:Kcron-screenshot-de.png'
license=('GPL' 'LGPL' 'FDL')
install=kdeadmin.install
pkgdesc="Crontab editor"
depends=("kio")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kdeadmin" "kde" "kde-uninstall")
conflicts=("kdeadmin-kcron")
replaces=("kdeadmin-kcron")
provides=("kdeadmin-kcron")
categories=('system')
options=('docs' '!header' 'debug' 'log')
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_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}