summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 543981350b1665ef35f420984849ca190e24fb46 (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
# Maintainer: Dominik Kummer <admin@arkades.org>

pkgname=konqueror-git
pkgver=r14067.4ab571e
pkgrel=1
pkgdesc="KDE File Manager and Web Browser"
arch=(i686 x86_64)
url='https://userbase.kde.org/Konqueror'
license=(LGPL)
depends=(dolphin qt5-webengine)
makedepends=(extra-cmake-modules git kdoctools kdesu tidy kdesignerplugin kdelibs4support)
conflicts=(kdebase-konqueror konqueror konqueror-frameworks-git konq-plugins-git konq-plugins-frameworks-git
           libkonq-git libkonq-frameworks-git konq-plugins kdebase-konq-plugins)
provides=(konqueror)
replaces=(konq-plugins-git libkonq-git)
optdepends=('tidy: Tidy HTML plugin' 'kdesu: shell command plugin')
source=('git://anongit.kde.org/konqueror')
md5sums=('SKIP')

pkgver() {
  cd konqueror
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../konqueror \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DKDE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF
  make
}

package() {
  cd build/
  make DESTDIR="$pkgdir" install
}