blob: a143020b08b67b6ac6cceb97d411be1e6453d062 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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=23.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
qt5-qtbase-dev
samurai
"
_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"
subpackages="$pkgname-lang"
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="
8266810d249c70e3c5e874d87caa4e2aa5960c7e35ecb39b39845f2e225adbccf6f92b3fce4e03a5383d3bbc13b140f039d7ba7678616a670e347f6798520a48 dolphin-plugins-23.08.1.tar.xz
"
|