mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
825 B
Bash
32 lines
825 B
Bash
pkgname=kronometer
|
|
pkgver=2.1.1
|
|
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=('ecb182e6ef6cf33a7c3a068edb6ac243caa43ff386f1c331bb3a2d197eae4b00')
|
|
|
|
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
|
|
}
|