PKGBUILDs/extra/kshutdown/PKGBUILD

27 lines
717 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 53360 2009-09-30 16:23:35Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=kshutdown
pkgver=2.0beta8
pkgrel=1
pkgdesc="Shutdown Utility for KDE"
arch=(i686 x86_64)
url="http://kshutdown.sourceforge.net/"
license=('GPL')
depends=('kdelibs' 'kdebase-workspace')
makedepends=('pkgconfig' 'cmake' 'automoc4')
install='kshutdown.install'
source=(http://switch.dl.sourceforge.net/sourceforge/kshutdown/$pkgname-source-$pkgver.zip)
build() {
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=$pkgdir install
}
md5sums=('aa391a688e59a32839584a3af89409b8')