desktop/kdetoys-kteatime/PKGBUILD

39 lines
938 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname="kteatime"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
url="http://kde.org/applications/games/kteatime/"
screenshot='https://www.kde.org/images/screenshots/kteatime.png'
license=('GPL' 'LGPL' 'FDL')
pkgdesc="System tray applet that makes sure your tea doesn't get too strong"
conflicts=('kdetoys-kteatime')
prepares=('kdetoys-kteatime')
replaces=('kdetoys-kteatime')
groups=("kde" "kdetoys" "kde-uninstall")
categories=('accessories')
install=kdetoys.install
options=('docs' '!header' 'debug' 'log')
depends=('knotifyconfig')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
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
}