[arch-commits] Commit in kdetoys/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Wed Jul 23 23:52:46 UTC 2008
Date: Wednesday, July 23, 2008 @ 19:52:46
Author: pierre
Revision: 6165
upgpkg: kdetoys 4.1.0-1
updating to 4.1.0
Modified:
kdetoys/trunk/PKGBUILD
----------+
PKGBUILD | 47 ++++++++++++++++++++---------------------------
1 file changed, 20 insertions(+), 27 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-07-23 23:52:22 UTC (rev 6164)
+++ PKGBUILD 2008-07-23 23:52:46 UTC (rev 6165)
@@ -1,34 +1,27 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
pkgname=kdetoys
-pkgver=3.5.9
-kdever=3.5.9 # if minor 0, then without .0
+pkgver=4.1.0
pkgrel=1
-pkgdesc="Toys for KDE."
-arch=(i686 x86_64)
-url="http://www.kde.org"
-license=("GPL")
+pkgdesc="KDE Toys"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
groups=('kde')
-depends=('kdelibs>=3.5.9')
+depends=('kdebase-workspace')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+options=('docs')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('372c62581fb87145693674aedd4d9844')
-# 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-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=('10fd55e004a582f87eed6796811bb3b8')
More information about the arch-commits
mailing list