# $Id: PKGBUILD 84190 2013-02-13 13:42:33Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Tobias Powalowski pkgname=kshutdown pkgver=3.0beta6 pkgrel=1 pkgdesc='Shutdown Utility for KDE' arch=('x86_64' 'i686' 'mips64el') url='http://kshutdown.sourceforge.net/' license=('GPL') depends=('kdebase-workspace') makedepends=('cmake' 'automoc4') install='kshutdown.install' source=("http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.zip") sha256sums=('dfe89f124e68ae3f5b859fc02ad4d37726b3e001ee6b02f1bb1f6281fbef45cf') build() { mkdir "$srcdir/build" cd "$srcdir/build" cmake "../$pkgname-$pkgver" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "$srcdir/build" make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: