aports/community/dolphin-plugins/APKBUILD
2024-09-13 13:50:51 +00:00

49 lines
1.3 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=dolphin-plugins
pkgver=24.08.1
pkgrel=0
pkgdesc="Extra Dolphin plugins"
url="https://www.kde.org/applications/system/dolphin/"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
license="GPL-2.0-or-later"
makedepends="
dolphin-dev
extra-cmake-modules
ki18n-dev
kio-dev
ktexteditor-dev
ktextwidgets-dev
kxmlgui-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/sdk/dolphin-plugins.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-plugins-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_svn=OFF # Broken "error: expected unqualified-id before '(' token"
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
d123197d4669611f0d12ad128967686d11b865865472028e60916e85bc4f0a5159e023a2784cba04e069ea5dbd9fd0801617b73e4033cffe1f6d815895aac59c dolphin-plugins-24.08.1.tar.xz
"