summaryrefslogtreecommitdiff
path: root/libre/kdebase-konqueror-libre/PKGBUILD
blob: bed0b129a47cd5b4f67b0994dd39e9de90366f29 (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
# $Id: PKGBUILD 164089 2012-07-26 16:54:32Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>

_pkgname='kdebase-konqueror'
pkgname='kdebase-konqueror-libre'
pkgver=4.9.0
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://kde.org/applications/internet/konqueror/"
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
makedepends=('kdelibs' 'cmake' 'automoc4' 'tidyhtml')
source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz"
    	"konq-about-fsdg.diff")
sha1sums=('f5c358e3c7902b15328908a9966f98774827988e'
          'f41541371414dcbe5e76687835e648112b3ff364')
pkgdesc='KDE File Manager & Web Browser'
depends=('kdebase-dolphin' 'kdebase-keditbookmarks')
optdepends=('kwebkitpart: to enable webkit engine')
install='kdebase-konqueror.install'
conflicts=('kdebase-nsplugins' 'kdebase-konqueror')
replaces=('kdebase-nsplugins' 'kdebase-konqueror')
provides=("kdebase-konqueror=$pkgver")

build() {
    cd "${srcdir}"/kde-baseapps-${pkgver}

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

	cd ${srcdir}
	mkdir build
	cd build
	cmake ../kde-baseapps-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-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
}