summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13b3bc67e81c8e6719951ffc56feac7af3bacd55 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Maintainer: Dominik Kummer <admin@arkades.org>

pkgname=konqueror-git
_pkgname=konqueror
pkgver=24.01.90.r85.g83428ef39
pkgrel=1
pkgdesc='KDE File Manager & Web Browser'
arch=("x86_64")
url='https://apps.kde.org/konqueror/'
license=(LGPL-2.0-or-later)
depends=("dolphin" "keditbookmarks" "qt6-webengine")
makedepends=(cmake
         gcc-libs
         glibc
         git
         karchive
         kbookmarks
         kcmutils
         kcodecs
         kcolorscheme
         kcompletion
         kconfig
         kconfigwidgets
         kcoreaddons
         kcrash
         kdbusaddons
         kdesu
         kguiaddons
         ki18n
         kiconthemes
         kio
         kitemviews
         kjobwidgets
         kparts
         kservice
         ktextwidgets
         kwallet
         kwidgetsaddons
         kwindowsystem
         kxmlgui
         qt6-base
         qt6-webengine
         solid
         sonnet
         zlib)
optdepends=('kdesu: shell command plugin')
conflicts=("konqueror")
provides=("konqueror")
groups=(kde-applications
        kde-network)
source=("git+https://invent.kde.org/network/konqueror.git")
sha512sums=('SKIP')
 
pkgver() {
  cd "$_pkgname"
  git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
 
build() {
  cmake -B $_pkgname/build -S $_pkgname \
    -DBUILD_TESTING=OFF \
    -DQT_MAJOR_VERSION=6 \
    -DUSE_SYSTEM_DICTIONARIES=ON
  cmake --build $_pkgname/build
}

package() {
  DESTDIR="$pkgdir" cmake --install $_pkgname/build
}