mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
desktop/screenfetch: Added (screenshot info tool).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
655db4b853
commit
ff144bd44d
4 changed files with 94 additions and 0 deletions
6
desktop/screenfetch/README
Normal file
6
desktop/screenfetch/README
Normal file
|
@ -0,0 +1,6 @@
|
|||
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.
|
59
desktop/screenfetch/screenfetch.SlackBuild
Normal file
59
desktop/screenfetch/screenfetch.SlackBuild
Normal file
|
@ -0,0 +1,59 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for Screenfetch
|
||||
# Copyright 2012, Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org>
|
||||
|
||||
# Copyright 2012, Slackware Srbija (http://www.slackware-srbija.org/)
|
||||
# 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.
|
||||
|
||||
PRGNAM=screenfetch
|
||||
VERSION=${VERSION:-2.7.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="CHANGELOG COPYING README.mkdn TODO"
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||
cd $PRGNAM-$VERSION
|
||||
chmod 644 $DOCS
|
||||
|
||||
install -m 755 -D $PRGNAM-dev $PKG/usr/bin/$PRGNAM
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
10
desktop/screenfetch/screenfetch.info
Normal file
10
desktop/screenfetch/screenfetch.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="screenfetch"
|
||||
VERSION="2.7.5"
|
||||
HOMEPAGE="http://www.kittykatt.us/index.php?page=scripts"
|
||||
DOWNLOAD="http://git.silverirc.com/cgit.cgi/screenfetch.git/snapshot/screenfetch-2.7.5.tar.bz2"
|
||||
MD5SUM="822af684e02411b973f41e9e98469537"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Bojan Popovic"
|
||||
EMAIL="bocke@slackware-srbija.org"
|
19
desktop/screenfetch/slack-desc
Normal file
19
desktop/screenfetch/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
screenfetch: The 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: valuable information to the right.
|
||||
screenfetch:
|
||||
screenfetch: Homepage: http://git.silverirc.com/cgit.cgi/screenfetch-dev.git/
|
||||
screenfetch:
|
Loading…
Reference in a new issue