diff options
author | Sean Hinchee <henesy.dev@gmail.com> | 2024-10-28 06:46:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-28 15:11:09 +0700 |
commit | afe2d632cba9576fe7d22ea6f68f272a52125757 (patch) | |
tree | cb7471737357b160662e9a7b98f43bc518eb2232 /development | |
parent | 7b8f859ac7306c0af89f25a41807835e7b8f63e0 (diff) |
development/sam: Updated for version 20241024_5d8acb35.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/sam/sam.SlackBuild | 25 | ||||
-rw-r--r-- | development/sam/sam.info | 10 |
2 files changed, 23 insertions, 12 deletions
diff --git a/development/sam/sam.SlackBuild b/development/sam/sam.SlackBuild index 69f45c12e1cb..dd1bf5ff4851 100644 --- a/development/sam/sam.SlackBuild +++ b/development/sam/sam.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sam -# Copyright 2018 Sean Hinchee +# Copyright 2024 Sean Hinchee # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,10 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sam -VERSION=${VERSION:-cd8efea6bc572a31b1a325f4201ac52cf6760d7e} +VERSION=${VERSION:-20241024_5d8acb35} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +COMMIT=5d8acb35d78c327d76f00a54857cbd566ed9bc11 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -70,8 +71,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz +cd $PRGNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -87,11 +88,21 @@ BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man \ 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 -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +### Manuals + +# nuke broken manual nonsense +rm -r $PKG/usr/man + +gzip -k -9 ./doc/sam.1 +mkdir -p $PKG/usr/man/man1 +cp -a ./doc/sam.1.gz $PKG/usr/man/man1/ + +gzip -k -9 ./doc/samrc.5 +mkdir -p $PKG/usr/man/man5 +cp -a ./doc/samrc.5.gz $PKG/usr/man/man5/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.rst doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/sam/sam.info b/development/sam/sam.info index f03a84623e49..6f9d02743f00 100644 --- a/development/sam/sam.info +++ b/development/sam/sam.info @@ -1,10 +1,10 @@ PRGNAM="sam" -VERSION="cd8efea6bc572a31b1a325f4201ac52cf6760d7e" +VERSION="20241024_5d8acb35" HOMEPAGE="http://www.deadpixi.com/an-updated-version-of-sam" -DOWNLOAD="https://github.com/deadpixi/sam/archive/cd8efea/sam-cd8efea6bc572a31b1a325f4201ac52cf6760d7e.tar.gz" -MD5SUM="279e44d0843b8de24ce40e8492b61744" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/deadpixi/sam/archive/5d8acb35/sam-5d8acb35d78c327d76f00a54857cbd566ed9bc11.tar.gz" +MD5SUM_x86_64="16ef500d141e0715dd7282b2d279f5cf" REQUIRES="" MAINTAINER="Sean Hinchee" EMAIL="henesy.dev@gmail.com" |