1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/nemo-qml-plugin-calendar/APKBUILD

37 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nemo-qml-plugin-calendar
pkgver=0.6.18
pkgrel=0
pkgdesc="Nemo QML calendar plugin"
url="https://git.sailfishos.org/mer-core/nemo-qml-plugin-calendar"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
license="LGPL-2.1-or-later"
makedepends="
extra-cmake-modules
kcalendarcore-dev
libaccounts-qt-dev
mkcal-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
"
source="https://git.sailfishos.org/mer-core/nemo-qml-plugin-calendar/-/archive/$pkgver/nemo-qml-plugin-calendar-$pkgver.tar.gz
0001-Port-to-CMake.patch
"
options="!check"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QML_IMPORT_DIR=/usr/lib/qt5/qml
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="90d89bb4f7cd05399755fe3a53e6a846c86786e98217b16bccf912ead3ddce5e0eb2799295a65e71200e081fa26b804498eca3c174e05b3ce0c66b1f0d2e5e12 nemo-qml-plugin-calendar-0.6.18.tar.gz
e2f64df9c2e43a27d02b3771e632fbd3c16cc98a77006ae9f00459cbc796243cb99d7430fe0f04f11a0040cda50754bfc3b021584f672978559e30b382fbc8d0 0001-Port-to-CMake.patch"