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

Alexander Rødseth arodseth at archlinux.org
Tue May 24 20:27:34 UTC 2016


    Date: Tuesday, May 24, 2016 @ 22:27:33
  Author: arodseth
Revision: 176457

upgpkg: kshutdown 3.2-5

Modified:
  kshutdown/trunk/PKGBUILD
Deleted:
  kshutdown/trunk/kshutdown.install

-------------------+
 PKGBUILD          |   14 +++++++-------
 kshutdown.install |   13 -------------
 2 files changed, 7 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-24 20:05:09 UTC (rev 176456)
+++ PKGBUILD	2016-05-24 20:27:33 UTC (rev 176457)
@@ -1,17 +1,16 @@
 # $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=kshutdown
 pkgver=3.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Shutdown Utility for KDE'
 arch=('x86_64' 'i686')
 url='http://kshutdown.sourceforge.net/'
 license=('GPL')
 depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4')
-install="$pkgname.install"
+makedepends=('cmake' 'automoc4' 'ninja')
 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.zip")
 sha256sums=('8be6c2a15bb539919f94ec0caf20f00b144185f996b7663c464fbf7ce8f4a39f')
 
@@ -20,12 +19,13 @@
   cd build
   cmake "../$pkgname-$pkgver" \
     -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -GNinja
+  ninja
 }
 
 package() {
-  make -C build DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }
 
 # vim:set ts=2 sw=2 et:

Deleted: kshutdown.install
===================================================================
--- kshutdown.install	2016-05-24 20:05:09 UTC (rev 176456)
+++ kshutdown.install	2016-05-24 20:27:33 UTC (rev 176457)
@@ -1,13 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list