desktop/kronometer/PKGBUILD
2016-04-25 14:15:47 +01:00

32 lines
825 B
Bash

pkgname=kronometer
pkgver=2.1.0
pkgrel=1
pkgdesc="A simple chronometer application built for KDE."
arch=('x86_64')
url="http://aelog.org/kronometer"
screenshot="http://i1.wp.com/www.aelog.org/wp-content/uploads/2014/06/kronometer.png"
license=('GPL2')
depends=('qt5-tools' 'kconfig' 'kdoctools' 'ki18n' 'kwidgetsaddons' 'kxmlgui')
conflicts=('kronometer-git')
makedepends=('cmake>=3.1' 'make' 'extra-cmake-modules')
source=(http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz)
sha256sums=('316fc42b6ff55c90d14bb04f9e4b5947c828d1161ad9e24af14ce71118f107da')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}