aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-12-29 09:21:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-30 11:20:11 +0700
commit58dc57f509fe65da8acb4347afd3a25b8736de5f (patch)
treeb92f54a5dc3b644088d94d9b84f4192333813db0
parent6c1991e2f258352960822a8520b589465108ea5d (diff)
system/plan9port: Updated for version 20211019_d0d4408.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/plan9port/plan9port.SlackBuild13
-rw-r--r--system/plan9port/plan9port.info6
2 files changed, 9 insertions, 10 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild
index 01ec2d18d9fe7..3a24bb5b16c02 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 eab8312767820..ef54207e7b763 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=""