summaryrefslogtreecommitdiff
path: root/community/rekonq
diff options
context:
space:
mode:
Diffstat (limited to 'community/rekonq')
-rw-r--r--community/rekonq/PKGBUILD31
-rw-r--r--community/rekonq/rekonq.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/community/rekonq/PKGBUILD b/community/rekonq/PKGBUILD
new file mode 100644
index 000000000..7d308f872
--- /dev/null
+++ b/community/rekonq/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 34315 2010-12-06 10:11:27Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Panagiotis Papadopoulos <pano_90 AT gmx DOT net>
+
+pkgname=rekonq
+pkgver=0.6.1
+pkgrel=3
+pkgdesc='A WebKit based web browser for KDE'
+arch=('i686' 'x86_64')
+url='http://rekonq.sourceforge.net/'
+license=('GPL')
+depends=('kdebase-keditbookmarks')
+makedepends=('cmake' 'automoc4' 'docbook-xsl')
+install=${pkgname}.install
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('3c67de04fe21bb3cd52509e45c821da5')
+
+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/community/rekonq/rekonq.install b/community/rekonq/rekonq.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/community/rekonq/rekonq.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}