[arch-commits] Commit in kwebkitpart (3 files)

Andrea Scarpino andrea at archlinux.org
Tue Jul 27 08:36:41 UTC 2010


    Date: Tuesday, July 27, 2010 @ 04:36:41
  Author: andrea
Revision: 86161

moved to [testing]

Added:
  kwebkitpart/trunk/PKGBUILD
  kwebkitpart/trunk/kwebkitpart.install
Deleted:
  kwebkitpart/kde-unstable/

---------------------+
 PKGBUILD            |   31 +++++++++++++++++++++++++++++++
 kwebkitpart.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2010-07-27 08:36:41 UTC (rev 86161)
@@ -0,0 +1,31 @@
+# $Id $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwebkitpart
+pkgver=0.9.6
+pkgrel=1
+pkgdesc="A web browser component for KDE"
+url="http://opendesktop.org/content/show.php?content=127960"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://opendesktop.org/CONTENT/content-files/127960-${pkgname}-${pkgver}.tar.bz2")
+md5sums=('017b56eae5462617bf5fded092280e1f')
+options=('force')
+
+build() {
+  cd ${srcdir}
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd ${srcdir}/build
+  make DESTDIR=${pkgdir} install
+}

Added: trunk/kwebkitpart.install
===================================================================
--- trunk/kwebkitpart.install	                        (rev 0)
+++ trunk/kwebkitpart.install	2010-07-27 08:36:41 UTC (rev 86161)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list