diff options
Diffstat (limited to 'academic/xephem/xephem.SlackBuild')
-rw-r--r-- | academic/xephem/xephem.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/academic/xephem/xephem.SlackBuild b/academic/xephem/xephem.SlackBuild index 70af0d12aa6ae..8747d3db80a54 100644 --- a/academic/xephem/xephem.SlackBuild +++ b/academic/xephem/xephem.SlackBuild @@ -7,10 +7,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xephem -VERSION=${VERSION:-3.7.7} +VERSION=${VERSION:-4.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM="XEphem" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -51,9 +52,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -67,7 +68,7 @@ sed -i 's/^CFLAGS =/override CFLAGS +=/g' GUI/xephem/Makefile cd GUI/xephem patch -p3 < $CWD/00_trailmenu.patch - make -j1 CFLAGS="$SLKCFLAGS" CLDFLAGS="" MOTIFL="/usr/lib$LIBDIRSUFFIX" || exit 1 + make -j1 CFLAGS="$SLKCFLAGS" CLDFLAGS="" MOTIFL="/usr/lib$LIBDIRSUFFIX" mkdir -p $PKG/usr/{bin,man/man1,share/xephem} cp xephem $PKG/usr/bin cp XEphem.png $PKG/usr/share/xephem @@ -100,7 +101,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Copyright INSTALL README \ + INSTALL LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |