# $Id: PKGBUILD 126252 2011-06-02 23:08:29Z andrea $ # Maintainer: Andrea Scarpino pkgname=kwebkitpart pkgver=1.1.1 pkgrel=1 pkgdesc="A web browser component for KDE" url="http://opendesktop.org/content/show.php?content=127960" arch=('i686' 'x86_64' 'mips64el') license=('LGPL') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("${pkgname}-${pkgver}.tar.bz2"::"http://quickgit.kde.org/?p=${pkgname}.git&a=snapshot&h=37bddda24735bb8eb2d9e324f983b8e84a45503e&fmt=tbz2") md5sums=('54c1fbb77f4a3c021b33a52a503fec8e') build() { cd "${srcdir}" mkdir build cd build cmake ../${pkgname} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }