# Maintainer: Adrián Chaves Fernández (Gallaecio) pkgname=kshutdown pkgver=3.2 pkgrel=3 pkgdesc="Advanced shut down utility." arch=('x86_64') url="http://kshutdown.sourceforge.net/" license=('GPL2') depends=('kde-runtime') makedepends=('cmake' 'automoc4') categories=('utils') install=$pkgname.install source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-source-$pkgver.zip) md5sums=('3006cb06fb9538eb5fdb0363fc22ae73') build() { cd $srcdir/$pkgname-$pkgver mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. make } package() { cd $srcdir/$pkgname-$pkgver/build make DESTDIR=$pkgdir install }