summaryrefslogtreecommitdiff
path: root/libre/kdebase-konqueror/PKGBUILD
blob: c9fbd9ebe13dccd2d562830a2d71152226cd5d43 (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
# $Id: PKGBUILD 275851 2016-09-08 15:18:47Z arojas $
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgbase=kdebase
pkgname='kdebase-konqueror'
pkgver=16.08.1
pkgrel=1.parabola1
arch=('i686' 'x86_64' 'armv7h')
url="http://kde.org/applications/internet/konqueror/"
license=('GPL' 'LGPL' 'FDL')
groups=('kde-applications' 'kdebase')
conflicts=('kdebase-nsplugins' 'kdebase-konqueror-libre')
replaces=('kdebase-nsplugins' 'kdebase-konqueror-libre')
makedepends=('libkactivities4' 'cmake' 'automoc4' 'tidy')
source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz"
        'konq-about-fsdg.diff')
sha1sums=('a9564b4325f1287b2d0c8b158cecbdb5aa60f6d4'
          'd6cbb53c04179b8180f9439eca156b7ff2e76b3a')
pkgdesc='KDE File Manager & Web Browser, without Google and nonfree software recommendation'
depends=('dolphinpart4' 'kdebase-keditbookmarks')
optdepends=('kwebkitpart: to enable webkit engine')

prepare() {
  mkdir -p build

  cd kde-baseapps-${pkgver}
  # Don't recommend nonfree software or Google.
  patch -Np1 -i "${srcdir}/konq-about-fsdg.diff"
}

build() {
  cd build
  cmake ../kde-baseapps-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_INSTALL_PREFIX=/usr

  for i in konqueror doc/konqueror nsplugins; do
    cd $srcdir/build/${i}
    make
  done
}

package() {
  for i in konqueror doc/konqueror nsplugins; do
    cd $srcdir/build/${i}
    make DESTDIR=$pkgdir install
  done
}