desktop/kcron/PKGBUILD

37 lines
828 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=('kde' 'kde-uninstall' 'kde-applications' 'kdeadmin')
conflicts=("kdeadmin-kcron")
replaces=("kdeadmin-kcron")
provides=("kdeadmin-kcron")
options=('docs' 'debug')
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
}