# $Id: PKGBUILD 172891 2012-12-06 08:23:49Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgbase=kdewebdev pkgname=('kdewebdev-kfilereplace' 'kdewebdev-kimagemapeditor' 'kdewebdev-klinkstatus' 'kdewebdev-kommander') pkgver=4.9.4 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdewebdev') makedepends=('cmake' 'automoc4' 'ruby' 'tidyhtml' 'kdepimlibs' 'boost') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz") sha1sums=('f81a44220c5622b222cb032160be06bf1d965704') build() { cd $srcdir mkdir build cd build cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } package_kdewebdev-kfilereplace() { pkgdesc='Search & Replace Tool' depends=('kdebase-runtime') url="http://kde.org/applications/utilities/kfilereplace/" install='kdewebdev.install' cd $srcdir/build/kfilereplace make DESTDIR=$pkgdir install cd $srcdir/build/doc/kfilereplace make DESTDIR=$pkgdir install } package_kdewebdev-kimagemapeditor() { pkgdesc='HTML Image Map Editor' depends=('kdebase-runtime') url="http://www.kde.org/applications/development/kimagemapeditor/" install='kdewebdev-kimagemapeditor.install' cd $srcdir/build/kimagemapeditor make DESTDIR=$pkgdir install cd $srcdir/build/doc/kimagemapeditor make DESTDIR=$pkgdir install } package_kdewebdev-klinkstatus() { pkgdesc='Link Checker' depends=('kdebase-runtime' 'kdepimlibs' 'tidyhtml') url="http://www.kde.org/applications/development/klinkstatus/" install='kdewebdev.install' cd $srcdir/build/klinkstatus make DESTDIR=$pkgdir install cd $srcdir/build/doc/klinkstatus make DESTDIR=$pkgdir install } package_kdewebdev-kommander() { pkgdesc='Executor for Kommander dialogs' depends=('kdebase-runtime') url="http://www.kde.org/applications/development/kommander/" cd $srcdir/build/kommander make DESTDIR=$pkgdir install }