diff options
author | B. Watson <urchlay@slackware.uk> | 2023-09-14 03:50:03 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-17 00:10:36 +0700 |
commit | 7596eee4adfd376e47c04c261b0dfc5f0782254e (patch) | |
tree | a3e4808daa180d4b069084368787505970997fe7 /desktop | |
parent | 964fe8aaebd4071316f7b4429790d23fda2400e9 (diff) |
desktop/ufetch: Updated for version 0.3, new maintainer.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/ufetch/README | 3 | ||||
-rw-r--r-- | desktop/ufetch/slack-desc | 2 | ||||
-rw-r--r-- | desktop/ufetch/ufetch.SlackBuild | 58 | ||||
-rw-r--r-- | desktop/ufetch/ufetch.info | 10 |
4 files changed, 30 insertions, 43 deletions
diff --git a/desktop/ufetch/README b/desktop/ufetch/README index 9dc36e895c143..361da83348c74 100644 --- a/desktop/ufetch/README +++ b/desktop/ufetch/README @@ -1,4 +1,4 @@ -ufetch +ufetch: ufetch (displays system information) Tiny system info for Unix-like operating systems. @@ -11,4 +11,3 @@ $ ufetch ______| | PACKAGES: 1591 | |________/ SHELL: bash |____________ DE: XFCE - diff --git a/desktop/ufetch/slack-desc b/desktop/ufetch/slack-desc index 7533a1065366e..6b8123fef2d96 100644 --- a/desktop/ufetch/slack-desc +++ b/desktop/ufetch/slack-desc @@ -10,10 +10,10 @@ ufetch: ufetch (displays system information) ufetch: ufetch: Tiny system info for Unix-like operating systems. ufetch: +ufetch: Home page: https://gitlab.com/jschx/ufetch ufetch: ufetch: ufetch: ufetch: ufetch: -ufetch: Home page: https://gitlab.com/jschx/ufetch ufetch: diff --git a/desktop/ufetch/ufetch.SlackBuild b/desktop/ufetch/ufetch.SlackBuild index 7e006ed3e84d5..a4bee3eb04026 100644 --- a/desktop/ufetch/ufetch.SlackBuild +++ b/desktop/ufetch/ufetch.SlackBuild @@ -2,31 +2,23 @@ # Slackware build script for ufetch -# Copyright 2022 Brandon Pribula, BC Canada -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Original author: Brandon Pribula, BC Canada +# Now maintained by B. Watson (urchlay@slackware.uk). + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20230914 bkw: +# - take over maintenance. +# - relicense as WTFPL, with permission from original author. +# - update for v0.3. +# - only extract the bits we want from the tarball. +# - minor tweaks to README and slack-desc. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ufetch -VERSION=${VERSION:-20201213_21f22c2} -COMMIT=${COMMIT:-21f22c2f08475b0c6466b8839bebcae0d63295ce} +VERSION=${VERSION:-0.3} +COMMIT=${COMMIT:-12b68fa35510a063582d626ccd1abc48f301b6b1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -46,23 +38,19 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz && mv $PRGNAM-$COMMIT $PRGNAM-$VERSION -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-v$VERSION-$COMMIT +tar xvf $CWD/$PRGNAM-v$VERSION-$COMMIT.tar.gz \ + --wildcards '*/LICENSE' '*/README.md' '*/ufetch-slackware' +cd $PRGNAM-v$VERSION-$COMMIT chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -install -D "$PRGNAM-slackware" $PKG/usr/bin/$PRGNAM - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +chmod 644 * -cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +install -D -m0755 "$PRGNAM-slackware" $PKG/usr/bin/$PRGNAM -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a LICENSE README.md $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/desktop/ufetch/ufetch.info b/desktop/ufetch/ufetch.info index 3b5f5ee88463a..6253a95a62509 100644 --- a/desktop/ufetch/ufetch.info +++ b/desktop/ufetch/ufetch.info @@ -1,10 +1,10 @@ PRGNAM="ufetch" -VERSION="20201213_21f22c2" +VERSION="0.3" HOMEPAGE="https://gitlab.com/jschx/ufetch" -DOWNLOAD="https://gitlab.com/jschx/ufetch/-/archive/21f22c2f08475b0c6466b8839bebcae0d63295ce/ufetch-21f22c2f08475b0c6466b8839bebcae0d63295ce.tar.gz" -MD5SUM="876a53efe796acf6a852676838a11b0b" +DOWNLOAD="https://gitlab.com/jschx/ufetch/-/archive/v0.3/ufetch-v0.3-12b68fa35510a063582d626ccd1abc48f301b6b1.tar.gz" +MD5SUM="49bf1729d078e64fc0b6b2cc30081cc6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Brandon Pribula" -EMAIL="b.pribs11@gmail.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" |