desktop/e16.theme.pack: Updated for version 1.0.3.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Michael Heras 2018-11-08 13:13:54 +00:00 committed by Willy Sudiarto Raharjo
parent c1b08c39ec
commit 8add1cc03f
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 70 additions and 77 deletions

View file

@ -1,5 +1,5 @@
Theme Pack for e16, Eterm, audacious, and gkrellm2. If you have any one
of these applicaions installed, this will install themes for the
of these applications installed, this will install themes for the
ones you have installed.
They go along with your e16 current theme for those applications as well.
@ -16,5 +16,7 @@ If these applicaions are not installed at the time you run this, they
will not be installed, if you install the applications later, then
you'll have to run this slackbuild again to get them installed.
The applications, at least one of them have to be installed
The applications, at least one of them have to be installed
in order for this to install anything.
1.0.3 added plugins for gkrellm2

View file

@ -2,7 +2,7 @@
# Slackware build script for <e16.theme.pack>
# Copyright <2018> <Michael Heras>
# Copyright <Oct-31-2018> <Michael Heras>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,17 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=e16.theme.pack
VERSION=${VERSION:-1.0.2}
VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@ -48,60 +42,57 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
while read dir ; do
while read subdir ; do
case "$subdir" in
Eterm)
ThemePkgName="$dir"
appName="$subdir"
Pkgto="$PKG/usr/share/Eterm/themes/$ThemePkgName"
if [[ -d /usr/share/Eterm ]] ; then
{
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
}
fi
;;
e16)
ThemePkgName="$dir"
appName="$subdir"
Pkgto="$PKG/usr/share/e16/themes/$ThemePkgName"
if [[ -d /usr/share/e16 ]] ; then
{
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
}
fi
;;
audacious)
ThemePkgName="$dir"
appName="$subdir"
Pkgto="$PKG/usr/share/audacious/Skins/$ThemePkgName"
if [[ -d /usr/share/audacious ]] ; then
{
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
}
fi
;;
gkrellm2)
ThemePkgName="$dir"
appName="$subdir"
Pkgto="$PKG/usr/share/gkrellm2/themes/$ThemePkgName"
if [[ -d /usr/lib64/gkrellm2 ]] ;
then
{
mkdir -p /usr/share/gkrellm2/themes
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
}
fi
;;
esac
done <<< "$(ls $(pwd)/$dir)"
done <<<"$(ls)"
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 {} \;
for subdir in */* ; do
ThemePkgName=$(dirname "$subdir")
appName=$(basename "$subdir")
case "$appName" in
Eterm)
Pkgto="$PKG/usr/share/Eterm/themes/$ThemePkgName"
if [ -d /usr/share/Eterm ] ; then
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
fi
;;
e16)
Pkgto="$PKG/usr/share/e16/themes/$ThemePkgName"
if [ -d /usr/share/e16 ] ; then
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
fi
;;
audacious)
Pkgto="$PKG/usr/share/audacious/Skins/$ThemePkgName"
if [ -d /usr/share/audacious ] ; then
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
fi
;;
gkrellm2)
Pkgto="$PKG/usr/share/gkrellm2/themes/$ThemePkgName"
if [ -d /usr/lib64/gkrellm2 ] ; then
mkdir -p $Pkgto
cp -r $ThemePkgName/$appName/* "$Pkgto"
fi
;;
esac
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="e16.theme.pack"
VERSION="1.0.2"
VERSION="1.0.3"
HOMEPAGE="https://sourceforge.net/projects/e16-theme-pack/"
DOWNLOAD="https://sourceforge.net/projects/e16-theme-pack/files/e16.theme.pack-1.0.2.tar.gz"
MD5SUM="e47c5fb0850f3a6bf00e39302143ab0a"
DOWNLOAD="https://sourceforge.net/projects/e16-theme-pack/files/e16.theme.pack-1.0.3.tar.gz"
MD5SUM="119f1d1739f5c9b888d9148541f38e64"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
e16-theme-pack: e16-theme-pack (theme pack)
e16-theme-pack:
e16-theme-pack: Themes for e16, and apps that are used with it, Eterm,
e16-theme-pack: audacious, and gkrellm2. If you have any of these
e16-theme-pack: installed. This slackbuild will install an asortment of
e16-theme-pack: themes to go along with e16 themes.
e16-theme-pack:
e16-theme-pack:
e16-theme-pack:
e16-theme-pack:
e16-theme-pack:
e16.theme.pack: e16.theme.pack (themes in a pack)
e16.theme.pack:
e16.theme.pack: Themes for e16, and apps that are used with it, Eterm,
e16.theme.pack: audacious, and gkrellm2 with plugins. If you have any of these
e16.theme.pack: installed, this slackbuild will install an assortment of
e16.theme.pack: themes to go along with e16 themes.
e16.theme.pack:
e16.theme.pack:
e16.theme.pack:
e16.theme.pack:
e16.theme.pack: