From 83943b1d28fdabd81dbed7d240ebbed2a3163de6 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 1 Dec 2022 06:48:37 +0700 Subject: [PATCH] mint-cursor-themes: Added. Signed-off-by: Willy Sudiarto Raharjo --- BUILD_ORDER | 1 + build-cinnamon.sh | 1 + .../mint-cursor-themes.SlackBuild | 58 +++++++++++++++++++ mint-cursor-themes/slack-desc | 12 ++++ 4 files changed, 72 insertions(+) create mode 100644 mint-cursor-themes/mint-cursor-themes.SlackBuild create mode 100644 mint-cursor-themes/slack-desc diff --git a/BUILD_ORDER b/BUILD_ORDER index 46c4800..81b28be 100644 --- a/BUILD_ORDER +++ b/BUILD_ORDER @@ -36,5 +36,6 @@ psutil cinnamon-screensaver mint-y-icons mint-themes +mint-cursor-themes cinnamon pia-manager diff --git a/build-cinnamon.sh b/build-cinnamon.sh index 1f3cab5..206ecc9 100755 --- a/build-cinnamon.sh +++ b/build-cinnamon.sh @@ -79,6 +79,7 @@ for dir in \ cinnamon-screensaver \ mint-y-icons \ mint-themes \ + mint-cursor-themes \ cinnamon \ pia-manager \ ; do diff --git a/mint-cursor-themes/mint-cursor-themes.SlackBuild b/mint-cursor-themes/mint-cursor-themes.SlackBuild new file mode 100644 index 0000000..f4f8873 --- /dev/null +++ b/mint-cursor-themes/mint-cursor-themes.SlackBuild @@ -0,0 +1,58 @@ +#!/bin/sh + +# Slackware build script for mint-cursor-themes + +# Copyright 2022 Willy Sudiarto Raharjo +# 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=mint-cursor-themes +VERSION=${VERSION:-1.0.0} +COMMITVER=${COMMITVER:-aa6bb767831ac43d1768c2e639de713a4a1eba8d} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +ARCH=noarch + +wget -c https://github.com/linuxmint/mint-cursor-themes/archive/$COMMITVER.zip + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$COMMITVER +unzip $CWD/$COMMITVER.zip +cd $PRGNAM-$COMMITVER + +cp -rf usr $PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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:-txz} diff --git a/mint-cursor-themes/slack-desc b/mint-cursor-themes/slack-desc new file mode 100644 index 0000000..2b06937 --- /dev/null +++ b/mint-cursor-themes/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +mint-cursor-themes: mint-cursor-themes (cursor themes for the Cinnamon desktop) +mint-cursor-themes: +mint-cursor-themes: mint-cursor-themes is a cursor theme for Cinnamon desktop +mint-cursor-themes: +mint-cursor-themes: +mint-cursor-themes: +mint-cursor-themes: Project URL: https://github.com/linuxmint/mint-cursor-themes +mint-cursor-themes: +mint-cursor-themes: +mint-cursor-themes: +mint-cursor-themes: