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

Pierre Schmitz pierre at archlinux.org
Wed Jul 23 18:52:36 EDT 2008


    Date: Wednesday, July 23, 2008 @ 18:52:36
  Author: pierre
Revision: 6118

upgpkg: kdeaccessibility 4.1.0-1
    updating to 4.1.0

Modified:
  kdeaccessibility/trunk/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++---------------------------
 1 file changed, 19 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-23 22:51:25 UTC (rev 6117)
+++ PKGBUILD	2008-07-23 22:52:36 UTC (rev 6118)
@@ -1,35 +1,27 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=kdeaccessibility
-pkgver=3.5.9
-kdever=3.5.9 # if minor is 0, then without .0
+pkgver=4.1.0
 pkgrel=1
 pkgdesc="KDE Accessibility Aids"
-arch=(i686 x86_64)
-url="http://www.kde.org"
-license=('GPL')
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'FDL')
 groups=('kde')
-depends=('kdelibs>=3.5.9' 'libxtst')
-makedepends=('pkgconfig')
+depends=('kdelibs')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+options=('docs')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('b923c4f54d1e6ea47c79f6fad536ce20')
 
-  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 --disable-debug --disable-dependency-tracking \
-  --enable-gcc-hidden-visibility --enable-final
-  #        --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=('79c7fa53ec60ad51fbdb16aac56d85a1')





More information about the arch-commits mailing list