diff options
author | Michael Heras <userxbw@gmail.com> | 2018-11-08 13:13:54 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:59 +0700 |
commit | 8add1cc03f1cf62ad22408e357e415cab34debfc (patch) | |
tree | 7d6c0a01279762bdd12d82c1674b86a8abfb6bdd /desktop/e16.theme.pack | |
parent | c1b08c39ec111f4ba8de4fd818916f377c17e78a (diff) | |
download | slackbuilds-8add1cc03f1cf62ad22408e357e415cab34debfc.tar.gz |
desktop/e16.theme.pack: Updated for version 1.0.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/e16.theme.pack')
-rw-r--r-- | desktop/e16.theme.pack/README | 6 | ||||
-rw-r--r-- | desktop/e16.theme.pack/e16.theme.pack.SlackBuild | 113 | ||||
-rw-r--r-- | desktop/e16.theme.pack/e16.theme.pack.info | 6 | ||||
-rw-r--r-- | desktop/e16.theme.pack/slack-desc | 22 |
4 files changed, 70 insertions, 77 deletions
diff --git a/desktop/e16.theme.pack/README b/desktop/e16.theme.pack/README index eeff047383..ca43c665d8 100644 --- a/desktop/e16.theme.pack/README +++ b/desktop/e16.theme.pack/README @@ -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 diff --git a/desktop/e16.theme.pack/e16.theme.pack.SlackBuild b/desktop/e16.theme.pack/e16.theme.pack.SlackBuild index 18b92571fb..f97b1ccf70 100644 --- a/desktop/e16.theme.pack/e16.theme.pack.SlackBuild +++ b/desktop/e16.theme.pack/e16.theme.pack.SlackBuild @@ -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 diff --git a/desktop/e16.theme.pack/e16.theme.pack.info b/desktop/e16.theme.pack/e16.theme.pack.info index ced8eba8ff..4048e04831 100644 --- a/desktop/e16.theme.pack/e16.theme.pack.info +++ b/desktop/e16.theme.pack/e16.theme.pack.info @@ -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="" diff --git a/desktop/e16.theme.pack/slack-desc b/desktop/e16.theme.pack/slack-desc index 9a8982d850..40bec9f0a7 100644 --- a/desktop/e16.theme.pack/slack-desc +++ b/desktop/e16.theme.pack/slack-desc @@ -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: |