blob: 8a96f14c95987568f449ac82780300b1663bd49a (
plain)
1 # Description: Open source planetarium
2 # URL: http://stellarium.org
3 # Maintainer: Pedja, predivan at mts dot rs
4 # Depends on: qt5
5
6 name=stellarium
7 version=0.18.2
8 release=1
9 source=(https://github.com/Stellarium/stellarium/releases/download/v"$version"/$name-$version.tar.gz
10 $name.desktop
11 $name.png)
12 build() {
13 cd $name-$version
14 mkdir -p builds/unix && cd builds/unix
15 cmake -DCMAKE_INSTALL_PREFIX=/usr \
16 -DCMAKE_ENABLE_NLS=0 ../..
17 make
18 make DESTDIR=$PKG install
19
20 rm -rf $PKG/usr/share/locale
21 mkdir -p $PKG/usr/share/{applications,pixmaps}
22 install -m 644 $SRC/stellarium.desktop $PKG/usr/share/applications/stellarium.desktop
23 install -m 644 $SRC/stellarium.png $PKG/usr/share/pixmaps/stellarium.png
24 }
|