aports/community/marknote/APKBUILD
Bart Ribbers 44ce39a091 */*: remove unnecessary --output-on-failure
We set OUTPUT_ON_FAILURE by default nowadays so this argument is
unnecessary
2025-03-19 15:41:30 +00:00

58 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-other
pkgname=marknote
pkgver=1.3.0
pkgrel=1
pkgdesc="A simple markdown note management app"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://apps.kde.org/marknote/"
license="GPL-3.0-or-later AND CC0-1.0"
depends="
kirigami
kirigami-addons
kitemmodels
qqc2-desktop-style
"
makedepends="
extra-cmake-modules
kcolorscheme-dev
kconfig-dev
kcoreaddons-dev
ki18n-dev
kirigami-addons-dev
kirigami-dev
kmime-dev
kxmlgui-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
qt6-qtsvg-dev
samurai
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/office/marknote.git"
source="https://download.kde.org/stable/marknote/marknote-$pkgver.tar.xz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
030206a63c2d0a36519c7df879fee8d52125e85cab491e4c34cc62edabddc8f7b8d200c60e3d0da73e0367f0001fa695c3a773392bc82cabc27c6d47efdfddeb marknote-1.3.0.tar.xz
"