# Description: Themes for GKrellM from muhri.net plus some extra # URL: http://www.muhri.net/gkrellm/ # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: gkrellm name=gkrellm-skins version=20030129 release=4 source=(http://slackware.uk/sbosrcarch/by-name/desktop/gkrellm-themes/GKrellM-Skins.tar.gz invisible-black.tar.xz invisible-contrast.tar.xz invisible-myrellm.tar.xz Yenjie.tar.xz) build() { mkdir -p $PKG/usr/share/gkrellm2/themes cp -a $SRC/{invisible-*,Yenjie} $PKG/usr/share/gkrellm2/themes cd GKrellM-skins # Directly taken from the SlackBuild by Leo C. Thanks! # https://slackbuilds.org/repository/14.2/desktop/gkrellm-themes/ for FILE in *gz; do tar xf $FILE -C $PKG/usr/share/gkrellm2/themes \ --exclude CVS \ --exclude "*~" \ --exclude "*.swp" \ --exclude .xvpics done cd $PKG/usr/share/gkrellm2/themes chown -R root:root . # remove dangling symlinks find -L . -type l -exec rm -fv {} \; # fix permissions & unset setuid, setgid and sticky bits (leading double zero is required) find . -type d -exec chmod 00755 {} \; find . -type f -exec chmod 00644 {} \; find $PKG/ -iname "*README*" -delete find $PKG/ -iname "*ChangeLog*" -delete find $PKG/ -iname "*COPYING*" -delete find $PKG/ -iname "*BUGS*" -delete }