# Maintainer: sausageandeggs <sausageandeggs@archlinux.us>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# $Id: PKGBUILD 155541 2012-04-04 14:13:00Z andrea $
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
pkgname=('kdebase-dolphin-klook')
pkgver=4.9.80
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Dolphin with klook enabled"
url='https://projects.kde.org/projects/playground/base/klook'
license=('GPL2' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
depends=('klook-git')
makedepends=('cmake' 'automoc4' 'tidyhtml')
#source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz"
#"${pkgname}-${pkgver}.patch")
source=("http://download.kde.org/unstable/4.9.80/src/kde-baseapps-4.9.80.tar.xz"
"${pkgname}-${pkgver}.patch")
provides=(kdebase-dolphin=${pkgver})
conflicts=(kdebase-dolphin)
install=kdebase-dolphin.install
build() {
cd ${srcdir}/kde-baseapps-${pkgver}
patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}.patch
cd ..
[[ -d build ]] && rm -rf build
mkdir build
cd build
cmake ../kde-baseapps-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/build/dolphin
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/dolphin
make DESTDIR=$pkgdir install
}
sha1sums=('9cde28381d72f86aa4d975e48e545026bc0c6d0a'
'89e02e2c9a283b35d3fa002ea6756cee2c90d6f4')