diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild index 01ec2d18d9..3a24bb5b16 100644 --- a/system/plan9port/plan9port.SlackBuild +++ b/system/plan9port/plan9port.SlackBuild @@ -28,11 +28,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=plan9port -VERSION=${VERSION:-20190501} +VERSION=${VERSION:-20211019_d0d4408} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -COMMIT="3197719090b3fd0a038767f7e8e15e771b1515be" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -59,9 +58,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG/opt $OUTPUT cd $TMP -rm -rf $PRGNAM-${COMMIT} -unzip $CWD/${COMMIT} || unzip $CWD/plan9port-${COMMIT}.zip -cd $PRGNAM-${COMMIT} +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -73,7 +72,7 @@ find -L . \ PLAN9_TARGET=/opt/plan9 ./INSTALL cd $TMP -mv $PRGNAM-${COMMIT} $PKG/opt/plan9 +mv $PRGNAM-$VERSION $PKG/opt/plan9 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 @@ -89,7 +88,7 @@ install -D -m 0755 $CWD/xinitrc.rio $PKG/etc/X11/xinit/xinitrc.rio mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $PKG/opt/plan9 -mv CHANGES CONTRIBUTORS INSTALL LICENSE README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION +mv CHANGES CONTRIBUTORS INSTALL LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/plan9port/plan9port.info b/system/plan9port/plan9port.info index eab8312767..ef54207e7b 100644 --- a/system/plan9port/plan9port.info +++ b/system/plan9port/plan9port.info @@ -1,8 +1,8 @@ PRGNAM="plan9port" -VERSION="20190501" +VERSION="20211019_d0d4408" HOMEPAGE="https://9fans.github.io/plan9port/" -DOWNLOAD="https://rbn.im/files/sources/plan9port/20190501/master.zip" -MD5SUM="3ca89a88e239f732a33d329a9fdb6f9d" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/plan9port-20211019_d0d4408.tar.xz" +MD5SUM="5d3c159812e6dd3f97651b18e0fc6c5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""