summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-30 06:52:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-30 06:52:22 +0700
commitf5195408e3452322ee4537a1a68ad817db5facea (patch)
treec930f2a0e9ed49e7e1f8267c8d7225514aae682b /academic
parent823f42a58c48e4837b83a59e92c58f17c13fce94 (diff)
downloadslackbuilds-f5195408e3452322ee4537a1a68ad817db5facea.tar.gz
academic/stellarium: Updated for version 0.13.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/stellarium/stellarium.SlackBuild11
-rw-r--r--academic/stellarium/stellarium.info8
2 files changed, 9 insertions, 10 deletions
diff --git a/academic/stellarium/stellarium.SlackBuild b/academic/stellarium/stellarium.SlackBuild
index e901214426..e92a95cd47 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.12.4}
+VERSION=${VERSION:-0.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,23 +64,22 @@ tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DLIB_SUFFIX="$LIBDIRSUFFIX" \
-DCMAKE_BUILD_TYPE="release" \
..
make
make install DESTDIR=$PKG
cd -
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
diff --git a/academic/stellarium/stellarium.info b/academic/stellarium/stellarium.info
index 7b38ae0764..8a4ee82760 100644
--- a/academic/stellarium/stellarium.info
+++ b/academic/stellarium/stellarium.info
@@ -1,10 +1,10 @@
PRGNAM="stellarium"
-VERSION="0.12.4"
+VERSION="0.13.1"
HOMEPAGE="http://www.stellarium.org"
-DOWNLOAD="http://downloads.sourceforge.net/stellarium/stellarium-0.12.4.tar.gz"
-MD5SUM="4d2ec96b9b4d9c8fc722f864409cf4fa"
+DOWNLOAD="http://downloads.sourceforge.net/stellarium/stellarium-0.13.1.tar.gz"
+MD5SUM="35ed2e967a7b4f8c431afe9fafbe60c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"