From ff144bd44de9cfe7559498b3010a71f489dc1ef3 Mon Sep 17 00:00:00 2001 From: Bojan Popovic Date: Fri, 14 Dec 2012 17:34:38 +0100 Subject: [PATCH] desktop/screenfetch: Added (screenshot info tool). Signed-off-by: Matteo Bernardini --- desktop/screenfetch/README | 6 +++ desktop/screenfetch/screenfetch.SlackBuild | 59 ++++++++++++++++++++++ desktop/screenfetch/screenfetch.info | 10 ++++ desktop/screenfetch/slack-desc | 19 +++++++ 4 files changed, 94 insertions(+) create mode 100644 desktop/screenfetch/README create mode 100644 desktop/screenfetch/screenfetch.SlackBuild create mode 100644 desktop/screenfetch/screenfetch.info create mode 100644 desktop/screenfetch/slack-desc diff --git a/desktop/screenfetch/README b/desktop/screenfetch/README new file mode 100644 index 0000000000..ba8bf0ada0 --- /dev/null +++ b/desktop/screenfetch/README @@ -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. diff --git a/desktop/screenfetch/screenfetch.SlackBuild b/desktop/screenfetch/screenfetch.SlackBuild new file mode 100644 index 0000000000..e9ec89b08b --- /dev/null +++ b/desktop/screenfetch/screenfetch.SlackBuild @@ -0,0 +1,59 @@ +#!/bin/sh + +# Slackware build script for Screenfetch +# Copyright 2012, Bojan Popovic, Belgrade, Serbia, + +# 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} diff --git a/desktop/screenfetch/screenfetch.info b/desktop/screenfetch/screenfetch.info new file mode 100644 index 0000000000..c1a04b5a10 --- /dev/null +++ b/desktop/screenfetch/screenfetch.info @@ -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" diff --git a/desktop/screenfetch/slack-desc b/desktop/screenfetch/slack-desc new file mode 100644 index 0000000000..d03a7bdc37 --- /dev/null +++ b/desktop/screenfetch/slack-desc @@ -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: