diff options
author | root <root@rshg054.dnsready.net> | 2011-12-19 23:15:16 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-19 23:15:16 +0000 |
commit | 6d2dec5c3443d142a0131c43666929490961c16a (patch) | |
tree | eb6b8e70d6557d1651309c65aef4812d6d10da1f /staging/kwebkitpart | |
parent | d8fd24a96ae712b2de3e9b05d937b135f41d016d (diff) |
Mon Dec 19 23:15:16 UTC 2011
Diffstat (limited to 'staging/kwebkitpart')
-rw-r--r-- | staging/kwebkitpart/PKGBUILD | 30 | ||||
-rw-r--r-- | staging/kwebkitpart/kwebkitpart.install | 11 |
2 files changed, 41 insertions, 0 deletions
diff --git a/staging/kwebkitpart/PKGBUILD b/staging/kwebkitpart/PKGBUILD new file mode 100644 index 000000000..9c249c12e --- /dev/null +++ b/staging/kwebkitpart/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 145154 2011-12-18 09:29:04Z andrea $ +# Maintainer: Andrea Scarpino <andrea@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 +} diff --git a/staging/kwebkitpart/kwebkitpart.install b/staging/kwebkitpart/kwebkitpart.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/staging/kwebkitpart/kwebkitpart.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |