# $Id: PKGBUILD 147905 2012-01-28 10:36:46Z andrea $ # Maintainer: Andrea Scarpino _pkgname=kdeutils-ark pkgname=kdeutils-ark-libre pkgver=4.8.0 pkgrel=1 pkgdesc='Archiving Tool' url='http://kde.org/applications/utilities/ark/' arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeutils') depends=('kdebase-runtime' 'kdebase-lib' 'libarchive' 'qjson') makedepends=('cmake' 'automoc4') optdepends=('p7zip' 'zip' 'unzip' 'ununrar') provides=("kdeutils-ark=$pkgver") replaces=('kdeutils-ark') conflicts=('kdeutils-ark') install=${_pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.bz2") sha1sums=('99756e0896938371d6d7036fb3d5d0d152de29c3') build() { cd "${srcdir}" mkdir build cd build cmake ../ark-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install cd $srcdir/build/doc make DESTDIR=$pkgdir install }