mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:37:19 +08:00
Ported Stellarium from ccr
This commit is contained in:
parent
58ae066982
commit
7162022f19
40
stellarium/PKGBUILD
Normal file
40
stellarium/PKGBUILD
Normal file
@ -0,0 +1,40 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Martín González <koteccr at gmail dot com>
|
||||
|
||||
pkgname=stellarium
|
||||
pkgver=0.11.4
|
||||
pkgrel=1
|
||||
pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
|
||||
arch=("i686" "x86_64")
|
||||
url="http://www.stellarium.org/"
|
||||
screenshot="http://www.stellarium.org/img/screenshots/0.10-from-mars.jpg"
|
||||
license=('GPL2')
|
||||
depends=('libpng' 'mesa' 'libgl' 'freetype2' 'qt' 'openssl')
|
||||
makedepends=('cmake' 'boost')
|
||||
categories=('education')
|
||||
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
|
||||
http://wstaw.org/m/2012/09/01/stellarium.png
|
||||
stellarium.desktop)
|
||||
md5sums=('f5b409745f393d80003d57fd276142f4'
|
||||
'134ab08e73f4f5d995a7931a7957b7a3'
|
||||
'b4f9ebd082c4e112c2bbfac9f2c8465d')
|
||||
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
|
||||
}
|
9
stellarium/stellarium.desktop
Normal file
9
stellarium/stellarium.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Stellarium nightsky renderer
|
||||
GenericName=Nightsky renderer
|
||||
Comment=A real-time nightsky renderer
|
||||
Categories=Education;Science;Astronomy;
|
||||
Icon=stellarium
|
||||
Exec=stellarium
|
||||
Terminal=false
|
||||
Type=Application
|
Loading…
Reference in New Issue
Block a user