summaryrefslogtreecommitdiff
path: root/libre/kdebase-konqueror/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kdebase-konqueror/PKGBUILD')
-rw-r--r--libre/kdebase-konqueror/PKGBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/libre/kdebase-konqueror/PKGBUILD b/libre/kdebase-konqueror/PKGBUILD
new file mode 100644
index 000000000..6f0a738b9
--- /dev/null
+++ b/libre/kdebase-konqueror/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 217088 2014-07-18 11:28:37Z svenstaro $
+# Maintainer (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>
+
+pkgname='kdebase-konqueror'
+pkgver=4.14.0
+pkgrel=1.parabola1
+arch=('i686' 'x86_64' 'mips64el')
+url="http://kde.org/applications/internet/konqueror/"
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdebase')
+conflicts=('kdebase-nsplugins' 'kdebase-konqueror-libre')
+replaces=('kdebase-nsplugins' 'kdebase-konqueror-libre')
+makedepends=('kdelibs' 'cmake' 'automoc4' 'tidyhtml' 'baloo-widgets')
+source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz"
+ 'konq-about-fsdg.diff')
+sha1sums=('9f0c7cda0ec0ca6fbe41696a753679f3e158fec2'
+ 'd6cbb53c04179b8180f9439eca156b7ff2e76b3a')
+pkgdesc='KDE File Manager & Web Browser, without Google and nonfree software recommendation'
+depends=('kdebase-dolphin' 'kdebase-keditbookmarks')
+optdepends=('kwebkitpart: to enable webkit engine')
+install='kdebase-konqueror.install'
+
+prepare() {
+ mkdir 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
+}