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

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun Mar 2 00:23:00 UTC 2014


    Date: Sunday, March 2, 2014 @ 01:23:00
  Author: arodseth
Revision: 106385

upgpkg: kshutdown 3.2-1

Modified:
  kshutdown/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-01 23:58:43 UTC (rev 106384)
+++ PKGBUILD	2014-03-02 00:23:00 UTC (rev 106385)
@@ -3,7 +3,7 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=kshutdown
-pkgver=3.0
+pkgver=3.2
 pkgrel=1
 pkgdesc='Shutdown Utility for KDE'
 arch=('x86_64' 'i686')
@@ -13,11 +13,11 @@
 makedepends=('cmake' 'automoc4')
 install="$pkgname.install"
 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.zip")
-sha256sums=('71295e88e30538e6bc9aceb0ba2d60c2bb6c47739a97ee76f7f1f767044493ee')
+sha256sums=('8be6c2a15bb539919f94ec0caf20f00b144185f996b7663c464fbf7ce8f4a39f')
 
 build() {
-  mkdir "$srcdir/build"
-  cd "$srcdir/build"
+  mkdir build
+  cd build
   cmake "../$pkgname-$pkgver" \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr
@@ -25,8 +25,7 @@
 }
 
 package() {
-  cd "$srcdir/build"
-  make DESTDIR="$pkgdir" install
+  make -C build DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list