forked from ports/contrib
28 lines
752 B
Plaintext
28 lines
752 B
Plaintext
# Description: Open source planetarium
|
|
# URL: http://stellarium.org
|
|
# Maintainer: Pedja, predivan at mts dot rs
|
|
# Depends on: qt5
|
|
|
|
name=stellarium
|
|
version=0.19.1
|
|
release=1
|
|
source=(https://github.com/Stellarium/stellarium/releases/download/v"$version"/$name-$version.tar.gz
|
|
$name.desktop
|
|
$name.png)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
mkdir build
|
|
cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DENABLE_NLS=0 ../
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/locale
|
|
# mkdir -p $PKG/usr/share/{applications,pixmaps}
|
|
# install -m 644 $SRC/stellarium.desktop $PKG/usr/share/applications/stellarium.desktop
|
|
# install -m 644 $SRC/stellarium.png $PKG/usr/share/pixmaps/stellarium.png
|
|
}
|