[arch-commits] Commit in stellarium/trunk (PKGBUILD stellarium.install)

Ronald van Haren ronald at nymeria.archlinux.org
Sat Feb 16 09:06:54 UTC 2013


    Date: Saturday, February 16, 2013 @ 10:06:54
  Author: ronald
Revision: 178101

upgpkg: stellarium 0.12.0-1

update to 0.12.0; add install file

Added:
  stellarium/trunk/stellarium.install
Modified:
  stellarium/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   10 ++++++----
 stellarium.install |   14 ++++++++++++++
 2 files changed, 20 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-16 08:46:34 UTC (rev 178100)
+++ PKGBUILD	2013-02-16 09:06:54 UTC (rev 178101)
@@ -3,18 +3,20 @@
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=stellarium
-pkgver=0.11.4
-pkgrel=2
+pkgver=0.12.0
+pkgrel=1
 pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
 arch=("i686" "x86_64")
 url="http://stellarium.free.fr/"
 license=('GPL2')
-depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt' 'openssl')
+depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt' 'openssl' 'desktop-file-utils' 
+'xdg-utils')
+install=stellarium.install
 makedepends=('cmake' 'boost' 'mesa')
 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
 	stellarium.desktop
         stellarium.png)
-sha1sums=('5b8bfd71b4c3eabbc1db64b71221eeebe6785dbf'
+sha1sums=('c6cc8f0954d976584e8ab9bc061f3b35e3b84251'
           'c9cc79212542238227b5bd6af99f60fe056f4ab2'
           'b890d3b6c4dcfcfcc696514202af11b2a50c0fea')
 	

Added: stellarium.install
===================================================================
--- stellarium.install	                        (rev 0)
+++ stellarium.install	2013-02-16 09:06:54 UTC (rev 178101)
@@ -0,0 +1,14 @@
+pkgname=stellarium
+
+post_install() {
+  update-desktop-database -q
+  xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}




More information about the arch-commits mailing list