diff options
Diffstat (limited to 'desktop/screenfetch')
-rw-r--r-- | desktop/screenfetch/README | 16 | ||||
-rw-r--r-- | desktop/screenfetch/screenfetch.SlackBuild | 31 | ||||
-rw-r--r-- | desktop/screenfetch/screenfetch.info | 10 | ||||
-rw-r--r-- | desktop/screenfetch/slack-desc | 12 |
4 files changed, 41 insertions, 28 deletions
diff --git a/desktop/screenfetch/README b/desktop/screenfetch/README index bd163a905da9..53687d0c781d 100644 --- a/desktop/screenfetch/README +++ b/desktop/screenfetch/README @@ -1,10 +1,12 @@ -Screenfetch is a Bash Screenshot Information Tool. This handy -Bash script can be used to generate one of those nifty terminal -theme information + ASCII distribution logos you see in everyone's -screenshots nowadays. It will auto-detect your distribution and -display an ASCII version of that distribution's logo and some +screenfetch (bash screenshot information tool) + +Screenfetch is a Bash Screenshot Information Tool. This handy Bash +script can be used to generate one of those nifty terminal theme +information + ASCII distribution logos you see in everyone's +screenshots nowadays. It will auto-detect your distribution and +display an ASCII version of that distribution's logo and some valuable information to the right. -scrot is an optional dependency. Without it you won't be able to -use -s option (take a screenshot). You can also specify a custom +scrot is an optional dependency. Without it you won't be able to +use -s option (take a screenshot). You can also specify a custom screenshot command. diff --git a/desktop/screenfetch/screenfetch.SlackBuild b/desktop/screenfetch/screenfetch.SlackBuild index aa63cd1f2ed2..703c8bae474c 100644 --- a/desktop/screenfetch/screenfetch.SlackBuild +++ b/desktop/screenfetch/screenfetch.SlackBuild @@ -1,7 +1,10 @@ #!/bin/sh - -# Slackware build script for Screenfetch -# Copyright 2012, 2013, 2014, 2015 Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org> +# +# Slackware build script for Screenfetch. +# +# Copyright 2012-2017 Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org>. +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -39,12 +42,12 @@ # 1.8 31-JAN-2015 Updated changelog. Synced changelog to git history. # Updated changelog formating. Updated tar extraction line # to eliminate (harmless but annoying) extraction errors. +# 1.9 27-MAR-2017 Updated for version 3.8.0. Added a manpage. PRGNAM=screenfetch -VERSION=${VERSION:-3.6.5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.8.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -DIRNAME=screenFetch ARCH=noarch @@ -55,20 +58,28 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="CHANGELOG COPYING README.mkdn TODO" +SRCNAM="screenFetch" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -( tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$DIRNAME-$VERSION.tar.gz ) 2>/dev/null || ( echo "Error: Source archive extraction failed!" && exit 1) -cd $DIRNAME-$VERSION -chmod 644 $DOCS +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +mv $SRCNAM-$VERSION $PRGNAM-$VERSION +cd $PRGNAM-$VERSION install -m 755 -D $PRGNAM-dev $PKG/usr/bin/$PRGNAM +mkdir -p $PKG/usr/man/man1 +install -m 644 screenfetch.1 $PKG/usr/man/man1 +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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +chmod 644 $DOCS; cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/desktop/screenfetch/screenfetch.info b/desktop/screenfetch/screenfetch.info index 7a81d63cad74..656c4d507b02 100644 --- a/desktop/screenfetch/screenfetch.info +++ b/desktop/screenfetch/screenfetch.info @@ -1,10 +1,10 @@ PRGNAM="screenfetch" -VERSION="3.6.5" +VERSION="3.8.0" HOMEPAGE="https://github.com/KittyKatt/screenFetch" -DOWNLOAD="https://github.com/KittyKatt/screenFetch/archive/v3.6.5.tar.gz" -MD5SUM="562ae735dd3dd41f20c74a9047cdf05f" +DOWNLOAD="https://github.com/KittyKatt/screenFetch/archive/v3.8.0/screenFetch-3.8.0.tar.gz" +MD5SUM="65254e010e26813b4dc920ebb8a56593" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Bojan Popovic" -EMAIL="bocke@slackware-srbija.org" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/desktop/screenfetch/slack-desc b/desktop/screenfetch/slack-desc index 3cdb89a48392..286d949a16c8 100644 --- a/desktop/screenfetch/slack-desc +++ b/desktop/screenfetch/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| screenfetch: screenfetch (bash screenshot information tool) screenfetch: -screenfetch: Screenfetch is a Bash Screenshot Information Tool. This handy -screenfetch: Bash script can be used to generate one of those nifty terminal -screenfetch: theme information + ASCII distribution logos you see in everyone's -screenfetch: screenshots nowadays. It will auto-detect your distribution and -screenfetch: display an ASCII version of that distribution's logo and some +screenfetch: Screenfetch is a Bash Screenshot Information Tool. This handy Bash +screenfetch: script can be used to generate one of those nifty terminal theme +screenfetch: information + ASCII distribution logos you see in everyone's +screenfetch: screenshots nowadays. It will auto-detect your distribution and +screenfetch: display an ASCII version of that distribution's logo and some screenfetch: valuable information to the right. screenfetch: -screenfetch: Homepage: https://github.com/KittyKatt/screenFetch +screenfetch: Home page: https://github.com/KittyKatt/screenFetch screenfetch: |