/
PKGBUILD
35 lines (30 loc) · 1001 Bytes
/
PKGBUILD
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
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=dolphin-plugins
pkgver=${_kdever}
pkgrel=1
pkgdesc='Extra Dolphin plugins'
url='https://invent.kde.org/sdk/dolphin-plugins'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kde-sdk' 'kde-uninstall' 'programming')
depends=('kxmlgui6' 'ki18n6' 'kio6' 'ktextwidgets6' 'kcoreaddons6' 'solid6' 'ktexteditor6'
'dolphin' 'qt6-5compat')
makedepends=('extra-cmake-modules' 'kdoctools6')
conflicts=('dolphin-plugins6')
replaces=('dolphin-plugins6')
optdepends=('git: git support'
'subversion: svn support')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
md5sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
build() {
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DQT_MAJOR_VERSION=6
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}