# Description: Realtime Space Simulation # URL: https://github.com/CelestiaProject/Celestia/ # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: gtkglext libtheora lua name=celestia version=1.6.4 release=1 source=(https://github.com/CelestiaProject/Celestia/archive/$version/$name-$version.tar.gz) build() { cd Celestia-$version autoreconf -vi ./configure --prefix=/usr \ --disable-nls \ --with-lua=/usr \ --datadir=/usr/share \ --with-gtk \ --disable-rpath \ --with-lua make make DESTDIR=$PKG MKDIR_P='mkdir -p' install sed -i "s:celestia-gtk:$name:" $PKG/usr/share/applications/$name.desktop sed -i "s:Education:Game:" $PKG/usr/share/applications/$name.desktop rm -rf $PKG/usr/share/$name/{COPYING*,controls_*,demo_*,guide_*,start_*,fonts/*_*.txf} }