system/plan9port: Updated for version 20211019_d0d4408.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-12-29 09:21:01 +01:00 committed by Willy Sudiarto Raharjo
parent 6c1991e2f2
commit 58dc57f509
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 10 deletions

View file

@ -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

View file

@ -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=""