From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/konq-plugins/PKGBUILD | 31 +++++++++++++++++++++++++++++++ extra/konq-plugins/konq-plugins.install | 11 +++++++++++ 2 files changed, 42 insertions(+) create mode 100644 extra/konq-plugins/PKGBUILD create mode 100644 extra/konq-plugins/konq-plugins.install (limited to 'extra/konq-plugins') 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 +# Contributor: Pierre Schmitz + +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 +} -- cgit v1.2.3-54-g00ecf