aports/community/keditbookmarks/APKBUILD
2024-07-04 19:59:11 +00:00

50 lines
1.2 KiB
Plaintext

# 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-applications
pkgname=keditbookmarks
pkgver=24.05.2
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://www.kde.org/"
pkgdesc="Bookmark Organizer and Editor"
license="GPL-2.0-only AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
kbookmarks-dev
kdoctools-dev
ki18n-dev
kiconthemes-dev
kio-dev
kparts-dev
kwindowsystem-dev
qt6-qtbase-dev
samurai
"
checkdepends="xvfb-run"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/utilities/keditbookmarks.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/keditbookmarks-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
xvfb-run ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
5fc6a3e9446238ca13ba485baaf01745c730663cf34f6ac88ff8abab718b48b8eb6c916d18e725abc95e4fede38b85e6017489c7aeec0c4121e30a958dbd8e7a keditbookmarks-24.05.2.tar.xz
"