diff options
Diffstat (limited to 'network/limnoria/limnoria.SlackBuild')
-rw-r--r-- | network/limnoria/limnoria.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/network/limnoria/limnoria.SlackBuild b/network/limnoria/limnoria.SlackBuild index e4cb41f72f..8e6c125093 100644 --- a/network/limnoria/limnoria.SlackBuild +++ b/network/limnoria/limnoria.SlackBuild @@ -22,8 +22,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=limnoria -SRCNAM=Limnoria -VERSION=${VERSION:-git20160728} +SRCNAM=Limnoria-master +VERSION=${VERSION:-2018_09_10} +SRCVERSION=${VERSION//_/-} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.xz -cd $SRCNAM-$VERSION +rm -rf $SRCNAM-$SRCVERSION +tar xvf $CWD/master-$SRCVERSION.tar.?z +cd $SRCNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -69,7 +70,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py install --root=$PKG +[ "$PYTHON3" = "yes" ] && PYVERS=3 + +python$PYVERS setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |