summaryrefslogtreecommitdiff
path: root/extra/kshutdown/PKGBUILD
blob: e312b3db4a75b814e08530064c9a318b47626d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 157339 2012-04-27 07:13:20Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=kshutdown
pkgver=3.0beta4
pkgrel=1
pkgdesc="Shutdown Utility for KDE"
arch=('i686' 'x86_64' '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")
sha1sums=('1dcdaa84b7e87560d9861209d6be6ea1d793ca78')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}