summaryrefslogtreecommitdiff
path: root/extra/konq-plugins
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/konq-plugins
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/konq-plugins')
-rw-r--r--extra/konq-plugins/PKGBUILD31
-rw-r--r--extra/konq-plugins/konq-plugins.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/extra/konq-plugins/PKGBUILD b/extra/konq-plugins/PKGBUILD
new file mode 100644
index 000000000..7bda68314
--- /dev/null
+++ b/extra/konq-plugins/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 112174 2011-03-04 09:55:03Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=konq-plugins
+pkgver=4.6.1
+pkgrel=1
+pkgdesc="Extra plugins for Konqueror"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('LGPL')
+depends=('kdebase-konqueror' 'tidyhtml')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('38facbeb5627ff6affa0fa0d676d1d19')
+
+build() {
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR=${pkgdir} install
+}
diff --git a/extra/konq-plugins/konq-plugins.install b/extra/konq-plugins/konq-plugins.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/extra/konq-plugins/konq-plugins.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}