diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2020-02-08 02:03:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-08 02:03:39 +0700 |
commit | 8c94aa5d2eefdc66daeca080948d403e83cef5d2 (patch) | |
tree | 057facaa94833ae031d61c97d6ae0cc7fb35786f /desktop/breeze-snow-cursor-theme | |
parent | 9c12e1670d294f91456397832354b202c6787d8d (diff) | |
download | slackbuilds-8c94aa5d2eefdc66daeca080948d403e83cef5d2.tar.gz |
desktop/breeze-snow-cursor-theme: Added (White cursor theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/breeze-snow-cursor-theme')
4 files changed, 96 insertions, 0 deletions
diff --git a/desktop/breeze-snow-cursor-theme/README b/desktop/breeze-snow-cursor-theme/README new file mode 100644 index 0000000000..3808dd309e --- /dev/null +++ b/desktop/breeze-snow-cursor-theme/README @@ -0,0 +1,5 @@ +This is the white cursor theme for the KDE Breeze style. + +The SlackBuild is inspired by this Arch Linux PKGBUILD, +submitted by grimi and maintained by jpope: +https://aur.archlinux.org/packages/breeze-snow-cursor-theme diff --git a/desktop/breeze-snow-cursor-theme/breeze-snow-cursor-theme.SlackBuild b/desktop/breeze-snow-cursor-theme/breeze-snow-cursor-theme.SlackBuild new file mode 100644 index 0000000000..463a60108b --- /dev/null +++ b/desktop/breeze-snow-cursor-theme/breeze-snow-cursor-theme.SlackBuild @@ -0,0 +1,62 @@ +#!/bin/sh + +# Slackware build script for breeze-snow-cursor-theme +# Written by Isaac Yu <isaacyu1@isaacyu1.com> + +# Copyright 2020 Isaac Yu <isaacyu1@isaacyu1.com> +# 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 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=breeze-snow-cursor-theme +VERSION=${VERSION:-1.0} +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +unzip $CWD/$PRGNAM.zip +cd Breeze_Snow +chown -R root:root . +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 600 -o -perm 444 -o -perm 440 \ + -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/usr/share/icons +mv $TMP/Breeze_Snow $PKG/usr/share/icons/ + +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/breeze-snow-cursor-theme/breeze-snow-cursor-theme.info b/desktop/breeze-snow-cursor-theme/breeze-snow-cursor-theme.info new file mode 100644 index 0000000000..d7c08a1220 --- /dev/null +++ b/desktop/breeze-snow-cursor-theme/breeze-snow-cursor-theme.info @@ -0,0 +1,10 @@ +PRGNAM="breeze-snow-cursor-theme" +VERSION="1.0" +HOMEPAGE="https://kver.wordpress.com/2015/01/09/curses-i-mean-cursors/" +DOWNLOAD="https://code.jpope.org/jpope/breeze_cursor_sources/raw/master/breeze-snow-cursor-theme.zip" +MD5SUM="52680cb0dc4511917b70404f7f388089" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu1@isaacyu1.com" diff --git a/desktop/breeze-snow-cursor-theme/slack-desc b/desktop/breeze-snow-cursor-theme/slack-desc new file mode 100644 index 0000000000..2e6415d961 --- /dev/null +++ b/desktop/breeze-snow-cursor-theme/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------------------------------------------------------| +breeze-snow-cursor-theme: breeze-snow-cursor-theme (White cursor theme) +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: This is the white cursor theme for the KDE Breeze style. +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: +breeze-snow-cursor-theme: |