aboutsummaryrefslogtreecommitdiff
path: root/desktop/faba-icon-theme
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2020-03-01 08:01:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-01 08:01:23 +0700
commit4bc8cfe990a7492a11eda4a53ccf315211b0331f (patch)
tree2d63a8178d87fe59aeae5ed16e12075d04d69c34 /desktop/faba-icon-theme
parent062739761cbe97106fb60d54fabfc79455f61aab (diff)
desktop/faba-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/faba-icon-theme')
-rw-r--r--desktop/faba-icon-theme/README2
-rw-r--r--desktop/faba-icon-theme/doinst.sh12
-rw-r--r--desktop/faba-icon-theme/faba-icon-theme.SlackBuild10
-rw-r--r--desktop/faba-icon-theme/faba-icon-theme.info2
-rw-r--r--desktop/faba-icon-theme/slack-desc4
5 files changed, 14 insertions, 16 deletions
diff --git a/desktop/faba-icon-theme/README b/desktop/faba-icon-theme/README
index d807454d5cad7..5402bf230e51d 100644
--- a/desktop/faba-icon-theme/README
+++ b/desktop/faba-icon-theme/README
@@ -1,6 +1,6 @@
faba-icon-theme (gnome icon theme)
-Faba is a sexy and modern icon theme with Tango influences. It has
+Faba is a modern icon theme with Tango influences. It has been
designed with simplicity and compliance to standards in mind. Faba's
purpose is serve as a base icon theme to others (such as Moka Icon Theme).
diff --git a/desktop/faba-icon-theme/doinst.sh b/desktop/faba-icon-theme/doinst.sh
index aea0f894eb32b..dc2831290424d 100644
--- a/desktop/faba-icon-theme/doinst.sh
+++ b/desktop/faba-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/Faba/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/Faba >/dev/null 2>&1
fi
fi
diff --git a/desktop/faba-icon-theme/faba-icon-theme.SlackBuild b/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
index c0742ca149174..5b8b86bf235fe 100644
--- a/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
+++ b/desktop/faba-icon-theme/faba-icon-theme.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for faba-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/faba-icon-theme/faba-icon-theme.info b/desktop/faba-icon-theme/faba-icon-theme.info
index 14855745b53c4..d04a6543d605e 100644
--- a/desktop/faba-icon-theme/faba-icon-theme.info
+++ b/desktop/faba-icon-theme/faba-icon-theme.info
@@ -1,6 +1,6 @@
PRGNAM="faba-icon-theme"
VERSION="4.3"
-HOMEPAGE="https://github.com/snwh/faba-icon-theme/"
+HOMEPAGE="https://github.com/snwh/faba-icon-theme"
DOWNLOAD="https://github.com/snwh/faba-icon-theme/archive/v4.3/faba-icon-theme-4.3.tar.gz"
MD5SUM="34633c7d146b93abebc96d3dddd52053"
DOWNLOAD_x86_64=""
diff --git a/desktop/faba-icon-theme/slack-desc b/desktop/faba-icon-theme/slack-desc
index 121cd20856569..d31894d3b66ca 100644
--- a/desktop/faba-icon-theme/slack-desc
+++ b/desktop/faba-icon-theme/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
faba-icon-theme: faba-icon-theme (gnome icon theme)
faba-icon-theme:
-faba-icon-theme: Faba is a sexy and modern icon theme with Tango influences. It has
+faba-icon-theme: Faba is a modern icon theme with Tango influences. It has been
faba-icon-theme: designed with simplicity and compliance to standards in mind. Faba's
faba-icon-theme: purpose is serve as a base icon theme to others (such as Moka Icon
faba-icon-theme: Theme). It consists only of system icons: folders, mimetypes,
faba-icon-theme: toolbar icons, etc.
faba-icon-theme:
-faba-icon-theme: Home Page: https://github.com/snwh/faba-icon-theme/
+faba-icon-theme: Homepage: https://github.com/snwh/faba-icon-theme
faba-icon-theme:
faba-icon-theme: