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

Pierre Schmitz pierre at archlinux.org
Wed Jul 23 18:53:24 EDT 2008


    Date: Wednesday, July 23, 2008 @ 18:53:24
  Author: pierre
Revision: 6121

upgpkg: kdeadmin 4.1.0-1
    updating to 4.1.0

Modified:
  kdeadmin/trunk/PKGBUILD

----------+
 PKGBUILD |   52 +++++++++++++++++++++-------------------------------
 1 file changed, 21 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-23 22:52:56 UTC (rev 6120)
+++ PKGBUILD	2008-07-23 22:53:24 UTC (rev 6121)
@@ -1,38 +1,28 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=kdeadmin
-pkgver=3.5.9
-kdever=3.5.9 # if minor 0, then without .0
+pkgver=4.1.0
 pkgrel=1
-pkgdesc="KDE Administration Programs."
-arch=(i686 x86_64)
-url="http://www.kde.org"
-license=('GPL')
-
+pkgdesc="KDE Administration Programs"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
 groups=('kde')
-depends=('kdelibs>=3.5.9')
-makedepends=('pkgconfig' 'lilo')
+depends=('kdepimlibs')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+options=('docs')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('e45c18ccb8a63f7ab1b0e7c47edbe8cb')
 
-  mirror="ftp.solnet.ch/mirror/KDE"         # updated every 2 hours, very fast for Europe
-# mirror="ftp.kde.org/pub/kde/"             # main server
-# mirror="ibiblio.org/pub/mirrors/kde/"     # ibiblio mirror
-
-source=(ftp://$mirror/stable/$kdever/src/$pkgname-$pkgver.tar.bz2)
-
-
 build() {
-  # Source the QT and KDE profile
-  [ "$QTDIR" = "" ] && source /etc/profile.d/qt3.sh 
-  [ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh
-  # start building
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/opt/kde \
-  --with-pam=yes --with-shadow --without-rpm --disable-debug --disable-dependency-tracking \
-  --enable-gcc-hidden-visibility --enable-final DO_NOT_COMPILE="ksysv kpackage"
-  #       --enable-final # remove this if you build with < 512mb ram.
-  # DO_NOT_COMPILE="kuser"
-  make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DBUILD_kpackage=OFF
+	make
+	make DESTDIR=$pkgdir install
 }
-md5sums=('e6607ea27b332616d20f4564656cb885')





More information about the arch-commits mailing list