#Packager: Maximus (maximuus[at]gmail[dot]com) pkgname=stellarium pkgver=0.10.4 pkgrel=1mb source=(http://downloads.sourceforge.net/stellarium/stellarium-0.10.4.tar.gz) sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://stellarium.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Stellarium (a desktop planetarium)" "Stellarium is a free open source planetarium for your computer. It" "shows a realistic sky in 3D, just like what you see with the naked" "eye, binoculars or a telescope." "It is being used in planetarium projectors. Just set your coordinates" "and go." "A 3d openGL acceleration card and a good CPU are required." ) build() { mkdir -p $startdir/src/$pkgname-$pkgver/builds/unix cd $startdir/src/$pkgname-$pkgver/builds/unix cmake -DCMAKE_INSTALL_PREFIX=/usr ../.. make || return 1 make install DESTDIR=$startdir/pkg #make .desktop and convert/install icon mkdir -p $startdir/pkg/usr/share/applications mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cat > $startdir/pkg/usr/share/applications/$pkgname.desktop <