summaryrefslogtreecommitdiffstats
path: root/desktop/moka-icon-theme
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/moka-icon-theme')
-rw-r--r--desktop/moka-icon-theme/README15
-rw-r--r--desktop/moka-icon-theme/doinst.sh12
-rw-r--r--desktop/moka-icon-theme/moka-icon-theme.SlackBuild26
-rw-r--r--desktop/moka-icon-theme/moka-icon-theme.info8
-rw-r--r--desktop/moka-icon-theme/slack-desc12
5 files changed, 35 insertions, 38 deletions
diff --git a/desktop/moka-icon-theme/README b/desktop/moka-icon-theme/README
index 97c7142602..13f03c3879 100644
--- a/desktop/moka-icon-theme/README
+++ b/desktop/moka-icon-theme/README
@@ -1,23 +1,14 @@
moka-icon-theme (gnome icon theme)
-Moka is a stylized Linux desktop icon set, and the titular icon theme of
-the Moka Project. They are designed to be clear, simple and consistent.
+Moka is a stylized FreeDesktop icon set, created with simplicity in
+mind.
Moka was created with minimal, flat style, using simple geometry &
colours. Each icon has been pixel-perfectly-designed and for the best
-experience throughout your desktop.
-
-As one of the most comprehensive icon sets available for the Linux
-desktop, Moka provides thousands of icons for many applications.
-
-No matter which desktop you are using, Moka has you covered; it's for
-all of the popular Linux desktop environments.
+experience throughout the desktop.
Moka is only a set of application icons, it relies on its companion icon
set "Faba Icon Theme".
From Faba Icon Theme, Moka inherits all the system icons, folders,
panel icons, etc. to make a complete experience.
-
-Moka Icon Theme (the icon assets and sources) are licensed under a
-Creative Commons Attribution-ShareAlike 4.0 license.
diff --git a/desktop/moka-icon-theme/doinst.sh b/desktop/moka-icon-theme/doinst.sh
index aea0f894eb..40edc52593 100644
--- a/desktop/moka-icon-theme/doinst.sh
+++ b/desktop/moka-icon-theme/doinst.sh
@@ -1,13 +1,5 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+if [ -e usr/share/icons/Moka/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/Moka >/dev/null 2>&1
fi
fi
diff --git a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild
index 27e1033001..65331fd244 100644
--- a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild
+++ b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for moka-icon-theme.
#
-# Copyright 2015-218 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2020 Aaditya <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,17 +23,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="moka-icon-theme"
VERSION=${VERSION:-5.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-CWD=$(pwd)
set -e
@@ -49,8 +60,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-meson --prefix $PKG/usr build
-ninja -C build install
+meson \
+ --prefix=/usr \
+ --datadir=/usr/share \
+ build
+DESTDIR=$PKG "${NINJA:=ninja}" -C build install
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS COPYING LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION
@@ -61,4 +75,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/desktop/moka-icon-theme/moka-icon-theme.info b/desktop/moka-icon-theme/moka-icon-theme.info
index 8a35849451..3fd761d116 100644
--- a/desktop/moka-icon-theme/moka-icon-theme.info
+++ b/desktop/moka-icon-theme/moka-icon-theme.info
@@ -1,10 +1,10 @@
PRGNAM="moka-icon-theme"
VERSION="5.4.0"
-HOMEPAGE="https://github.com/snwh/moka-icon-theme/"
+HOMEPAGE="https://github.com/snwh/moka-icon-theme"
DOWNLOAD="https://github.com/snwh/moka-icon-theme/archive/v5.4.0/moka-icon-theme-5.4.0.tar.gz"
MD5SUM="27d2e54bf33bcb428ece6ff2a97e2b67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson faba-icon-theme"
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
+REQUIRES="faba-icon-theme"
+MAINTAINER="Aaditya"
+EMAIL="aaditya_gnulinux@zoho.com"
diff --git a/desktop/moka-icon-theme/slack-desc b/desktop/moka-icon-theme/slack-desc
index 526157d21f..fbff01d9e1 100644
--- a/desktop/moka-icon-theme/slack-desc
+++ b/desktop/moka-icon-theme/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
moka-icon-theme: moka-icon-theme (gnome icon theme)
moka-icon-theme:
-moka-icon-theme: Moka is a stylized Linux desktop icon set, and the titular icon theme
-moka-icon-theme: of the Moka Project. They are designed to be clear, simple and
-moka-icon-theme: consistent.
-moka-icon-theme:
-moka-icon-theme: Home Page: https://github.com/snwh/moka-icon-theme/
-moka-icon-theme:
+moka-icon-theme: Moka is a stylized FreeDesktop icon set. It uses simple geometry
+moka-icon-theme: and bright colours, and has been designed and optimized
+moka-icon-theme: to achieve a pixel-perfect look for the desktop.
+moka-icon-theme: Moka is only a set of application icons, it relies on its companion
+moka-icon-theme: icon set "Faba Icon Theme".
moka-icon-theme:
+moka-icon-theme: Homepage: https://github.com/snwh/moka-icon-theme
moka-icon-theme:
moka-icon-theme: