summaryrefslogtreecommitdiff
path: root/testing/stellarium/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/stellarium/PKGBUILD')
-rw-r--r--testing/stellarium/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/stellarium/PKGBUILD b/testing/stellarium/PKGBUILD
new file mode 100644
index 000000000..05a16e1e5
--- /dev/null
+++ b/testing/stellarium/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 168495 2012-10-12 19:14:51Z andyrtr $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+
+pkgname=stellarium
+pkgver=0.11.4
+pkgrel=2
+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')
+makedepends=('cmake' 'boost' 'mesa')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ stellarium.desktop
+ stellarium.png)
+sha1sums=('5b8bfd71b4c3eabbc1db64b71221eeebe6785dbf'
+ 'c9cc79212542238227b5bd6af99f60fe056f4ab2'
+ 'b890d3b6c4dcfcfcc696514202af11b2a50c0fea')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ # install desktop file & pixmap
+ install -Dm644 ${srcdir}/stellarium.desktop \
+ ${pkgdir}/usr/share/applications/stellarium.desktop
+ install -Dm644 ${srcdir}/stellarium.png \
+ ${pkgdir}/usr/share/pixmaps/stellarium.png
+}