[arch-commits] Commit in kshutdown/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Oct 17 06:26:58 UTC 2017


    Date: Tuesday, October 17, 2017 @ 06:26:57
  Author: arojas
Revision: 263121

Update to 4.2

Modified:
  kshutdown/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-17 00:38:59 UTC (rev 263120)
+++ PKGBUILD	2017-10-17 06:26:57 UTC (rev 263121)
@@ -1,32 +1,35 @@
 # $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 # Contributor: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=kshutdown
-pkgver=4.0
-pkgrel=2
-pkgdesc='Shutdown Utility for KDE'
-arch=('x86_64' 'i686')
+pkgver=4.2
+pkgrel=1
+pkgdesc='Shutdown Utility'
+arch=(x86_64 i686)
 url='https://kshutdown.sourceforge.net/'
-license=('GPL')
-depends=('knotifyconfig' 'kidletime')
-makedepends=('extra-cmake-modules' 'ninja' 'python')
+license=(GPL)
+depends=(knotifyconfig kidletime hicolor-icon-theme)
+makedepends=(extra-cmake-modules python)
 source=("https://downloads.sourceforge.net/$pkgname/KShutdown/$pkgver/$pkgname-source-$pkgver.zip")
-sha256sums=('75733e5b55b36add775a2788365ee6f5fe8b3d21598e2a17e68b2f8dd62199fc')
+sha256sums=('48e537b593fd2470c0cfeca7c2c48ac3221fdb48b0fb89bfb898e4faf531ee46')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  mkdir -p build; cd build
-  cmake "../$pkgname-$pkgver" \
+  cd build
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DKS_KF5=ON \
-    -GNinja
-  ninja
+    -DKS_KF5=ON
+  make
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C build install
+  cd build
+  make DESTDIR="$pkgdir" install
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list