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

Pierre Schmitz pierre at archlinux.org
Wed Jul 23 19:54:37 EDT 2008


    Date: Wednesday, July 23, 2008 @ 19:54:37
  Author: pierre
Revision: 6171

upgpkg: kdewebdev 4.1.0-1
    updating to 4.1.0

Modified:
  kdewebdev/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-23 23:54:05 UTC (rev 6170)
+++ PKGBUILD	2008-07-23 23:54:37 UTC (rev 6171)
@@ -1,37 +1,27 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
-provides=('quanta')
-replaces=('quanta')
 pkgname=kdewebdev
-pkgver=3.5.9
-kdever=3.5.9 # if minor 0, then without .0
+pkgver=4.1.0
 pkgrel=1
-pkgdesc="A web development tool for the K Desktop Environment."
-arch=(i686 x86_64)
-url="http://kdewebdev.org/"
-license=('GPL')
-depends=('kdelibs>=3.5.9' 'kdesdk>=3.5.9' 'pcre' 'libxml2>=2.6.0' 'libxslt>=1.0.18' 'tidyhtml') 
+pkgdesc="KDE Web Development Applications"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde')
+depends=('kdepimlibs')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+options=('docs')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('28e5600e4deafb8467b19b4c575e8b37')
 
-# for easier build, just uncomment the mirror you want to use
-  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)
-options=(!makeflags)
-
 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 --disable-debug --disable-dependency-tracking \
-  --enable-final
-  # --enable-gcc-hidden-visibility disabled it breaks compile!
-  # --enable-final # remove this if you build with < 512mb ram.
-  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
+	make
+	make DESTDIR=$pkgdir install
 }
-md5sums=('e95d1fbb698ec76966abfa5bdf96bd5e')





More information about the arch-commits mailing list