summaryrefslogtreecommitdiff
path: root/academic/stellarium/stellarium.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/stellarium/stellarium.SlackBuild')
-rw-r--r--academic/stellarium/stellarium.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/stellarium/stellarium.SlackBuild b/academic/stellarium/stellarium.SlackBuild
index fabfbd32af..1558f79201 100644
--- a/academic/stellarium/stellarium.SlackBuild
+++ b/academic/stellarium/stellarium.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=stellarium
-VERSION=${VERSION:-0.11.0}
+VERSION=${VERSION:-0.12.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,11 @@ rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R a-s,u+w,go+r-w .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \