# $Id: PKGBUILD 204119 2014-01-15 10:16:38Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdeadmin-ksystemlog pkgver=4.12.1 pkgrel=1 pkgdesc='System log viewer tool' url='http://kde.org/applications/system/ksystemlog/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeadmin') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/ksystemlog-${pkgver}.tar.xz" 'syslog-path.patch') sha1sums=('8aee7c0ccfb00e247723caad350320f46f2b5124' '20095ce6e0f3e5b6800a7c6e52de6fddba62c031') prepare() { cd ksystemlog-${pkgver} patch -p2 -i "${srcdir}"/syslog-path.patch } build() { mkdir build cd build cmake ../ksystemlog-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR=$pkgdir install }