40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||
|
pkgname=calindori
|
||
|
pkgver=0_git20193001
|
||
|
pkgrel=0
|
||
|
_commit="1dcc04e8585cbc43bacc7f3a8181dfd3b7c64e73"
|
||
|
pkgdesc="Calendar for Plasma Mobile"
|
||
|
arch="all"
|
||
|
url="https://invent.kde.org/dkardarakos/calindori"
|
||
|
license="GPL-3.0"
|
||
|
depends="kirigami2"
|
||
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kcalcore-dev kconfig-dev plasma-framework-dev"
|
||
|
source="https://invent.kde.org/dkardarakos/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
||
|
builddir="$srcdir/$pkgname-$_commit/build"
|
||
|
|
||
|
prepare() {
|
||
|
mkdir "$builddir"
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd "$builddir"
|
||
|
cmake .. \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd "$builddir"
|
||
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$builddir"
|
||
|
DESTDIR="$pkgdir" make install
|
||
|
}
|
||
|
|
||
|
sha512sums="5ddf4c1cd96981c984c39d8b00a6cc00d018cce43e05cee70cdad0a78c5d8133a9f60e5547eb5a6ec205f89a0e4ffce3ee6059270a5c99aa9eb72c936624d5e9 calindori-1dcc04e8585cbc43bacc7f3a8181dfd3b7c64e73.tar.gz"
|