aports/community/nota/APKBUILD
2022-12-05 08:44:47 +01:00

56 lines
1.3 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
#
# optional dependencies:
# * kio-extras: to enable thumbnails in the file browser
# * udisks2: for browsing mount points
pkgname=nota
pkgver=2.2.1
pkgrel=0
pkgdesc="Nota is a simple and convergent text editor"
# armhf blocked by qt5-qtdeclarative
# s390x, ppc64le and riscv64 blocked by qt5-qtwebengine
arch="all !armhf !s390x !ppc64le !riscv64"
url="https://invent.kde.org/maui/nota"
license="GPL-2.0-or-later"
depends="
kde-icons
mauikit-texteditor
qmltermwidget
qt5-qtbase-sqlite
"
makedepends="
attica-dev
extra-cmake-modules
kconfig-dev
ki18n-dev
kio-dev
knotifications-dev
mauikit-dev
mauikit-filebrowsing-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
qt5-qtsvg-dev
qt5-qtwebengine-dev
samurai
syntax-highlighting-dev
"
source="https://download.kde.org/stable/maui/nota/$pkgver/nota-$pkgver.tar.xz"
options="!check" # No tests available
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
be9f92459511d6a02c7d587dfd6a5c5a41181add10bff9e9a0730d832f56538d458ac80ed7870e535a8f8e0ea8a3178708ae640caaf28fa3ee3d31ecac330fb6 nota-2.2.1.tar.xz
"