summaryrefslogtreecommitdiff
path: root/desktop/moka-icon-theme/moka-icon-theme.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2020-03-01 08:01:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-01 08:01:52 +0700
commited53cc8feae51641b48ff0472514680ae339b71e (patch)
tree35ec0bbb0495fdfe34727923ee5a424dc514d63b /desktop/moka-icon-theme/moka-icon-theme.SlackBuild
parent4bc8cfe990a7492a11eda4a53ccf315211b0331f (diff)
downloadslackbuilds-ed53cc8feae51641b48ff0472514680ae339b71e.tar.gz
desktop/moka-icon-theme: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/moka-icon-theme/moka-icon-theme.SlackBuild')
-rw-r--r--desktop/moka-icon-theme/moka-icon-theme.SlackBuild10
1 files changed, 8 insertions, 2 deletions
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