[arch-commits] Commit in kwebkitpart/repos (4 files)
Andrea Scarpino
andrea at archlinux.org
Mon Dec 19 18:03:50 UTC 2011
Date: Monday, December 19, 2011 @ 13:03:49
Author: andrea
Revision: 145210
db-move: moved kwebkitpart from [staging] to [testing] (i686)
Added:
kwebkitpart/repos/testing-i686/
kwebkitpart/repos/testing-i686/PKGBUILD
(from rev 145207, kwebkitpart/repos/staging-i686/PKGBUILD)
kwebkitpart/repos/testing-i686/kwebkitpart.install
(from rev 145207, kwebkitpart/repos/staging-i686/kwebkitpart.install)
Deleted:
kwebkitpart/repos/staging-i686/
---------------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
kwebkitpart.install | 11 +++++++++++
2 files changed, 41 insertions(+)
Copied: kwebkitpart/repos/testing-i686/PKGBUILD (from rev 145207, kwebkitpart/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-12-19 18:03:49 UTC (rev 145210)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwebkitpart
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="A WebKit browser component for KDE"
+url="http://opendesktop.org/content/show.php?content=127960"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('e736d7b26cf6e3c0eed837837b3f032b')
+
+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
+}
Copied: kwebkitpart/repos/testing-i686/kwebkitpart.install (from rev 145207, kwebkitpart/repos/staging-i686/kwebkitpart.install)
===================================================================
--- testing-i686/kwebkitpart.install (rev 0)
+++ testing-i686/kwebkitpart.install 2011-12-19 18:03:49 UTC (rev 145210)
@@ -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