desktop/kwebkitpart/PKGBUILD

34 lines
867 B
Bash

# Maintainer: abveritas[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kwebkitpart
pkgver=1.3.2
pkgrel=1
pkgdesc="A web browser component for KDE"
url="http://opendesktop.org/content/show.php?content=127960"
arch=('x86_64')
license=('GPL')
depends=('kde-runtime')
makedepends=('cmake' 'automoc4')
conflicts=('kwebkitpart-svn')
install=${pkgname}.install
source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('2df1c70371b99e5f638fff702f789ba1')
build() {
cd ${srcdir}
sed -i '/add_subdirectory(kdelauncher)/d' ${pkgname}-${pkgver}/CMakeLists.txt
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}