From 6d362ae43bc57ce79d721c79ac0d8c1a946a8179 Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Mon, 25 Apr 2011 08:43:56 +0000 Subject: [PATCH] updated gluon to version 0.71.0 --- .gitignore | 7 ------- support-pkg-gluon-git/PKGBUILD | 13 ++++++++----- support-pkg-gluon-git/gluon.install | 8 ++++++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index a24dbed1a..53494abd7 100644 --- a/.gitignore +++ b/.gitignore @@ -10,9 +10,7 @@ hdr build.sh clean-builddir.sh clean-workdir.sh -copy.sh makepkg -move.sh pkgrels-decrease.sh pkgrels-increase.sh pkgrels-reset.sh @@ -26,11 +24,6 @@ sync-complete.sh sync-down.sh sync-up-nodb.sh sync-up.sh -remove.sh -recreate-database.sh -upload.sh -upload-nodb.sh -unlock-database.sh *-cfg.conf *-makepkg.conf diff --git a/support-pkg-gluon-git/PKGBUILD b/support-pkg-gluon-git/PKGBUILD index e7c9fd3f5..d02cf4fca 100644 --- a/support-pkg-gluon-git/PKGBUILD +++ b/support-pkg-gluon-git/PKGBUILD @@ -8,7 +8,8 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=gluon -pkgver=0.70.0 +pkgver=0.71.0 +_pkgver=0.71 pkgrel=4 pkgdesc="A high-level game development library for the KDE desktop enviornment." arch=('i686' 'x86_64') @@ -19,17 +20,19 @@ makedepends=('git' 'eigen' 'cmake' 'automoc4') provides=('gluon') conflicts=('gluon') groups=("kde-uninstall" "kde-support") -source=("http://gluon.gamingfreedom.org/sites/default/files/gluon-$pkgver.tar.gz") -md5sums=('3f5b6eae22a5c4f41e574b5ef5c66a8e') # gluon-0.70.0.tar.gz +source=("http://download.kde.org/download.php?url=unstable/$pkgname/$_pkgver/src/$pkgname-$pkgver.tar.gz") +md5sums=('e4f284c0ae00e5b8a58cc3e6201857fe') install=gluon.install build() { msg "Starting make..." - cd "$srcdir/$pkgname-$pkgname" + cd "$srcdir/$pkgname-$pkgver" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PHYSICS_COMPONENTS=ON -DBUILD_PHYSICS_ASSETS=ON "$srcdir/$pkgname-$pkgname" + mkdir build && cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_PHYSICS_COMPONENTS=ON -DBUILD_PHYSICS_ASSETS=ON .. make || return 1 make DESTDIR="$pkgdir/" install } diff --git a/support-pkg-gluon-git/gluon.install b/support-pkg-gluon-git/gluon.install index e70c054ec..6ff172ff9 100644 --- a/support-pkg-gluon-git/gluon.install +++ b/support-pkg-gluon-git/gluon.install @@ -1,5 +1,7 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor + update-mime-database usr/share/mime > /dev/null } post_upgrade() { @@ -7,5 +9,7 @@ post_upgrade() { } post_remove() { - post_install + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor + update-mime-database usr/share/mime > /dev/null }