From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/rekonq/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community/rekonq/rekonq.install | 12 ++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 community/rekonq/PKGBUILD create mode 100644 community/rekonq/rekonq.install (limited to 'community/rekonq') diff --git a/community/rekonq/PKGBUILD b/community/rekonq/PKGBUILD new file mode 100644 index 000000000..114d1669d --- /dev/null +++ b/community/rekonq/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 93287 2013-07-01 06:22:40Z andrea $ +# Maintainer: Peter Lewis +# Maintainer: Andrea Scarpino +# Contributor: Panagiotis Papadopoulos + +pkgname=rekonq +pkgver=2.3.2 +pkgrel=1 +pkgdesc='A WebKit based web browser for KDE' +arch=('i686' 'x86_64') +url='http://rekonq.kde.org/' +license=('GPL') +depends=('kdebase-keditbookmarks' 'qoauth') +makedepends=('cmake' 'automoc4') +optdepends=('kdebase-konqueror: search engines support' + 'qca-ossl: to use the sync handler') +install=${pkgname}.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('9cfdb7e02a08ad4d2b5dd6e8bd1c85c11013f41a3186c8c5c22454093722bc74') + +build(){ + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/community/rekonq/rekonq.install b/community/rekonq/rekonq.install new file mode 100644 index 000000000..f80ffb217 --- /dev/null +++ b/community/rekonq/rekonq.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf