desktop/kshutdown/PKGBUILD

37 lines
853 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio)
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kshutdown
pkgver=2.0
pkgrel=1
pkgdesc="Advanced shut down utility."
arch=(i686 x86_64)
url="http://kshutdown.sourceforge.net/"
license=('GPL2')
depends=('kdelibs' 'kdebase-workspace')
makedepends=('cmake' 'automoc4')
categories=('utils')
install=$pkgname.install
source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-source-$pkgver.zip)
md5sums=('af9d2bfda919e7712319e14e6ca89610')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}