summaryrefslogtreecommitdiff
path: root/libre/kdebase-konqueror-libre/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-01-30 20:33:35 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-01-30 20:33:35 +0100
commit377f7fff82ea29f7f34ee2b4cce4147029a3b199 (patch)
treed1540e1a571ee8f30221b6d4ce1b83fb1a1862f4 /libre/kdebase-konqueror-libre/PKGBUILD
parent1b3ff92ac870b9525a1e592ba25079e133761d9e (diff)
downloadabslibre-377f7fff82ea29f7f34ee2b4cce4147029a3b199.tar.gz
abslibre-377f7fff82ea29f7f34ee2b4cce4147029a3b199.tar.bz2
abslibre-377f7fff82ea29f7f34ee2b4cce4147029a3b199.zip
kdelibs-libre and kdebase-konqueror-libre not recommending nonfree plugins.
Diffstat (limited to 'libre/kdebase-konqueror-libre/PKGBUILD')
-rw-r--r--libre/kdebase-konqueror-libre/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/libre/kdebase-konqueror-libre/PKGBUILD b/libre/kdebase-konqueror-libre/PKGBUILD
new file mode 100644
index 000000000..48e36633f
--- /dev/null
+++ b/libre/kdebase-konqueror-libre/PKGBUILD
@@ -0,0 +1,51 @@
+# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
+# $Id: PKGBUILD 147790 2012-01-28 10:33:05Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+_pkgname='kdebase-konqueror'
+pkgname='kdebase-konqueror-libre'
+pkgver=4.8.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.bz2"
+ "konq-about-fsdg.diff")
+sha1sums=('25151b551793164c5eb1cb303d3031e63a6122e3'
+ '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
+}