diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2020-03-01 08:01:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-01 08:01:52 +0700 |
commit | ed53cc8feae51641b48ff0472514680ae339b71e (patch) | |
tree | 35ec0bbb0495fdfe34727923ee5a424dc514d63b | |
parent | 4bc8cfe990a7492a11eda4a53ccf315211b0331f (diff) | |
download | slackbuilds-ed53cc8feae51641b48ff0472514680ae339b71e.tar.gz |
desktop/moka-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | desktop/moka-icon-theme/README | 14 | ||||
-rw-r--r-- | desktop/moka-icon-theme/doinst.sh | 12 | ||||
-rw-r--r-- | desktop/moka-icon-theme/moka-icon-theme.SlackBuild | 10 | ||||
-rw-r--r-- | desktop/moka-icon-theme/moka-icon-theme.info | 4 | ||||
-rw-r--r-- | desktop/moka-icon-theme/slack-desc | 13 |
5 files changed, 20 insertions, 33 deletions
diff --git a/desktop/moka-icon-theme/README b/desktop/moka-icon-theme/README index 97c7142602..f00689071e 100644 --- a/desktop/moka-icon-theme/README +++ b/desktop/moka-icon-theme/README @@ -1,23 +1,13 @@ 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 11c1271693..6e5880e046 100644 --- a/desktop/moka-icon-theme/moka-icon-theme.SlackBuild +++ b/desktop/moka-icon-theme/moka-icon-theme.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for moka-icon-theme. # # Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2020 Aaditya Bagga <aaditya_gnulinux@zoho.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -49,8 +50,13 @@ 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 + +ninja -C build +DESTDIR=$PKG ninja -C build install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS COPYING LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/desktop/moka-icon-theme/moka-icon-theme.info b/desktop/moka-icon-theme/moka-icon-theme.info index e42e7b3eff..86742ffe82 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" +REQUIRES="faba-icon-theme" MAINTAINER="Aaditya Bagga" EMAIL="aaditya_gnulinux@zoho.com" diff --git a/desktop/moka-icon-theme/slack-desc b/desktop/moka-icon-theme/slack-desc index 526157d21f..ab725c476f 100644 --- a/desktop/moka-icon-theme/slack-desc +++ b/desktop/moka-icon-theme/slack-desc @@ -8,12 +8,11 @@ |-----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-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: |