summaryrefslogtreecommitdiffstats
path: root/desktop/oomox/oomox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/oomox/oomox.SlackBuild')
-rw-r--r--desktop/oomox/oomox.SlackBuild20
1 files changed, 17 insertions, 3 deletions
diff --git a/desktop/oomox/oomox.SlackBuild b/desktop/oomox/oomox.SlackBuild
index 47b81307ee..99c608e003 100644
--- a/desktop/oomox/oomox.SlackBuild
+++ b/desktop/oomox/oomox.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=oomox
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,11 +61,25 @@ cp -a archdroid-icon-theme archdroid.sh colors gnome-colors gnome_colors.sh \
mkdir $PKG/opt/oomox/gtk-theme
tar xvf $CWD/$PRGNAM-gtk-theme-$OOMOXVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/gtk-theme
-( cd $PKG/opt/oomox/gtk-theme ; rm -fr .editorconfig .github .gitignore .hound.yml .scss-lint.yml screenshot.png )
+( cd $PKG/opt/oomox/gtk-theme
+ rm -fr .editorconfig .github .gitignore .hound.yml .scss-lint.yml screenshot.png
+ chown -R root:root .
+ find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; )
mkdir $PKG/opt/oomox/flat-plat-theme
tar xvf $CWD/Flat-Plat-$FLATPLATVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/flat-plat-theme
-( cd $PKG/opt/oomox/flat-plat-theme ; rm -fr .github .gitignore )
+( cd $PKG/opt/oomox/flat-plat-theme
+ rm -fr .github .gitignore
+ chown -R root:root .
+ find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; )
mkdir -p $PKG/usr/bin