summaryrefslogtreecommitdiff
path: root/extra/kshutdown/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kshutdown/PKGBUILD')
-rw-r--r--extra/kshutdown/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/extra/kshutdown/PKGBUILD b/extra/kshutdown/PKGBUILD
index 99e58f307..b45bff933 100644
--- a/extra/kshutdown/PKGBUILD
+++ b/extra/kshutdown/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 122317 2011-05-03 18:58:40Z tpowa $
+# $Id: PKGBUILD 151542 2012-02-27 16:09:41Z giovanni $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=kshutdown
-pkgver=2.0
+pkgver=3.0beta2
pkgrel=1
pkgdesc="Shutdown Utility for KDE"
arch=(i686 x86_64 'mips64el')
@@ -11,20 +11,23 @@ license=('GPL')
depends=('kdebase-workspace')
makedepends=('pkgconfig' 'cmake' 'automoc4')
install='kshutdown.install'
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.zip")
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.zip"
+ 'kshutdown_3.0beta2-mga-fix_requestshutdown_call.patch')
+md5sums=('1621e19cc74c9578b6cfc3e32166f853'
+ 'c03185629d063c8ebbf59a423cf78980')
build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} \
+ cd "${srcdir}"
+ patch -Np0 -i "${srcdir}/kshutdown_3.0beta2-mga-fix_requestshutdown_call.patch"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
- make
+ make
}
package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}" install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
}
-md5sums=('af9d2bfda919e7712319e14e6ca89610')