desktop/kshutdown/PKGBUILD
2016-09-01 01:04:27 +01:00

31 lines
786 B
Bash

pkgname=kshutdown
pkgver=4.0
pkgrel=1
pkgdesc="Advanced shut down utility."
arch=('x86_64')
url="http://kshutdown.sourceforge.net/"
license=('GPL2')
depends=('kconfig' 'kconfigwidgets' 'kdbusaddons' 'kglobalaccel' 'ki18n' 'kidletime'
'knotifications' 'knotifyconfig' 'kxmlgui')
makedepends=('cmake' 'extra-cmake-modules')
categories=('utils')
install=$pkgname.install
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.zip)
sha256sums=('75733e5b55b36add775a2788365ee6f5fe8b3d21598e2a17e68b2f8dd62199fc')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DKS_KF5=ON ..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}