[arch-commits] Commit in kdegames/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Wed Jul 23 23:37:37 UTC 2008
Date: Wednesday, July 23, 2008 @ 19:37:37
Author: pierre
Revision: 6140
upgpkg: kdegames 4.1.0-1
updating to 4.1.0
Modified:
kdegames/trunk/PKGBUILD
----------+
PKGBUILD | 50 +++++++++++++++++++++++---------------------------
1 file changed, 23 insertions(+), 27 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-07-23 23:32:41 UTC (rev 6139)
+++ PKGBUILD 2008-07-23 23:37:37 UTC (rev 6140)
@@ -1,34 +1,30 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
pkgname=kdegames
-pkgver=3.5.9
-kdever=3.5.9 # if minor 0, then without .0
+pkgver=4.1.0
pkgrel=1
-pkgdesc="Games for KDE."
-arch=(i686 x86_64)
-url="http://www.kde.org"
-license=('GPL')
+pkgdesc="KDE Games"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
groups=('kde')
-depends=('kdelibs>=3.5.9')
+depends=('kdelibs')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'ggz-client-libs')
+conflicts=('gnome-games')
+options=('docs')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('86ae1765e40bfbbf0e2c0ff165fce6cd')
-# 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)
-
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-tracker \
- --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
+ # correct permissons
+ chmod 755 $pkgdir/etc
}
-md5sums=('472385f21a692270fb5643d7617c7ff3')
More information about the arch-commits
mailing list