desktop/screenfetch: Updated for version 3.8.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-03-27 23:49:26 +01:00 committed by Willy Sudiarto Raharjo
parent 3893ac0be2
commit 40da39f82b
4 changed files with 41 additions and 28 deletions

View File

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

View File

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

View File

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

View File

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