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

Tobias Powalowski tpowa at archlinux.org
Sun Sep 28 08:54:38 UTC 2008


    Date: Sunday, September 28, 2008 @ 04:54:38
  Author: tpowa
Revision: 13731

upgpkg: kshutdown 2.0beta1-1

Modified:
  kshutdown/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-28 08:35:01 UTC (rev 13730)
+++ PKGBUILD	2008-09-28 08:54:38 UTC (rev 13731)
@@ -2,21 +2,25 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=kshutdown
-pkgver=1.0.2
-pkgrel=2
+pkgver=2.0beta1
+pkgrel=1
 pkgdesc="Shutdown Utility for KDE"
 arch=(i686 x86_64)
 url="http://kshutdown.sourceforge.net/"
 license=('GPL')
-depends=('kdelibs3')
-source=(http://switch.dl.sourceforge.net/sourceforge/kshutdown/$pkgname-$pkgver.tar.bz2)
+depends=('kdelibs' 'kdebase-workspace')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+install='kshutdown.install'
+source=(http://switch.dl.sourceforge.net/sourceforge/kshutdown/$pkgname-source-$pkgver.zip)
 
 build()        {
-        cd $startdir/src/$pkgname-$pkgver
-        ./configure --prefix=/opt/kde --enable-final --without-arts
-                # remove enable-final if you have less than 512MB RAM
-        make || return 1
-#        mkdir -p $startdir/pkg/opt/kde/share/apps/kconf_update/
-        make DESTDIR=$startdir/pkg install
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+           -DCMAKE_BUILD_TYPE=Release \
+	   -DCMAKE_INSTALL_PREFIX=/usr
+	make || return 1
+	make DESTDIR=$pkgdir install
 }
-md5sums=('3e945657f856adf367a18fc11cf25382')
+md5sums=('e71672b3b771cf21b06050632db07b7c')




More information about the arch-commits mailing list