[arch-commits] Commit in (6 files)

Andrea Scarpino andrea at archlinux.org
Mon Jun 28 05:41:55 EDT 2010


    Date: Monday, June 28, 2010 @ 05:41:54
  Author: andrea
Revision: 84281

make KDE users happy

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

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

Added: kwebkitpart/kde-unstable/PKGBUILD
===================================================================
--- kwebkitpart/kde-unstable/PKGBUILD	                        (rev 0)
+++ kwebkitpart/kde-unstable/PKGBUILD	2010-06-28 09:41:54 UTC (rev 84281)
@@ -0,0 +1,31 @@
+# $Id: $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwebkitpart
+pkgver=svn1143604
+pkgrel=1
+pkgdesc="A web browser component for KDE"
+url="http://techbase.kde.org/Projects/WebKit"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+#svn co -q svn://anonsvn.kde.org/home/kde/trunk/extragear/base/kwebkitpart ${pkgname}-svn${pkgver}
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-svn${pkgver}.tar.bz2")
+md5sums=('84e353f4210e04d3949871834705f342')
+
+build() {
+  cd ${srcdir}
+  mkdir build
+  cd build
+  cmake ../${pkgname}-svn${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+  make
+}
+
+package() {
+  cd ${srcdir}/build
+  make DESTDIR=${pkgdir} install
+}

Added: kwebkitpart/kde-unstable/kwebkitpart.install
===================================================================
--- kwebkitpart/kde-unstable/kwebkitpart.install	                        (rev 0)
+++ kwebkitpart/kde-unstable/kwebkitpart.install	2010-06-28 09:41:54 UTC (rev 84281)
@@ -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