aboutsummaryrefslogtreecommitdiff
path: root/desktop/oomox/oomox.SlackBuild
diff options
context:
space:
mode:
authorLeo C <leoc@gmx.com>2018-09-16 18:43:15 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-17 23:11:56 +0100
commit79222c66b883bdcd6c0a3d0f6e6db31962921251 (patch)
tree27748c93c6c6c3c5c61be212458c2ea63c502a8a /desktop/oomox/oomox.SlackBuild
parentaf2f3ed042dff138955594562905935dd62a90c4 (diff)
desktop/oomox: Updated for version 1.7.0.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/oomox/oomox.SlackBuild')
-rw-r--r--desktop/oomox/oomox.SlackBuild111
1 files changed, 47 insertions, 64 deletions
diff --git a/desktop/oomox/oomox.SlackBuild b/desktop/oomox/oomox.SlackBuild
index e6f47a6c34ba..108322673f80 100644
--- a/desktop/oomox/oomox.SlackBuild
+++ b/desktop/oomox/oomox.SlackBuild
@@ -23,18 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=oomox
-VERSION=${VERSION:-1.7.0.1}
+VERSION=${VERSION:-1.7.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-ARCVER=${ARCVER:-20170302}
+ARCVER=${ARCVER:-c49e1f7fb0aa937789f7c2430c74479e66b6b230}
ARCHDROIDVER=${ARCHDROIDVER:-1.0.2}
+BASE16VER=${BASE16VER:-d022b9daa5c233a08a8d3b94fd534a3041e3a8c1}
GNOMECOLORSVER=${GNOMECOLORSVER:-5.5.3}
-MATERIAVER=${MATERIAVER:-20180519}
-OOMOXVER=${OOMOXVER:-1.9.0}
-OOMOXIFYVER=${OOMOXIFYVER:-1.0}
+MATERIAVER=${MATERIAVER:-df30959eb068ef55db18a18ed23a4a1c79129768}
+OOMOXVER=${OOMOXVER:-1.9.0.1}
+OOMOXIFYVER=${OOMOXIFYVER:-1.0.0.1}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -64,67 +65,47 @@ cp -a colors locale oomox_gui plugins po terminal_templates \
gui.sh \
$PKG/opt/oomox
-tar xvf $CWD/arc-theme-$ARCVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/plugins/theme_arc/arc-theme
-( cd $PKG/opt/oomox/plugins/theme_arc/arc-theme
- rm -fr .git*
- 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 {} \; )
-
-tar xvf $CWD/archdroid-icon-theme-$ARCHDROIDVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/plugins/icons_archdroid
-( cd $PKG/opt/oomox/plugins/icons_archdroid
- rm -fr .git*
- 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 {} \; )
+# Begin Plugins Installation
+tar xvf $CWD/arc-theme-$ARCVER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/theme_arc/arc-theme
+
+tar xvf $CWD/archdroid-icon-theme-$ARCHDROIDVER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/icons_archdroid
-tar xvf $CWD/gnome-colors-icon-theme-$GNOMECOLORSVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/plugins/icons_gnomecolors
+tar xvf $CWD/base16-builder-$BASE16VER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/import_base16/base16-data
+
+tar xvf $CWD/gnome-colors-icon-theme-$GNOMECOLORSVER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/icons_gnomecolors
( cd $PKG/opt/oomox/plugins/icons_gnomecolors
rm -fr gnome-colors-icon-theme
- mv gnome-colors gnome-colors-icon-theme
- rm -fr .git*
- 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 {} \; )
-
-tar xvf $CWD/oomoxify-$OOMOXIFYVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/plugins/oomoxify
-( cd $PKG/opt/oomox/plugins/oomoxify
- rm -fr .git*
- 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 {} \; )
-
-tar xvf $CWD/materia-theme-$MATERIAVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/plugins/theme_materia/materia-theme
-( cd $PKG/opt/oomox/plugins/theme_materia/materia-theme
- rm -fr .git*
- 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 {} \; )
-
-tar xvf $CWD/$PRGNAM-gtk-theme-$OOMOXVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/plugins/theme_oomox/gtk-theme
-( cd $PKG/opt/oomox/plugins/theme_oomox/gtk-theme
- rm -fr .git* .editorconfig .*.yml {D,d}ocker* maintenance* screenshot* test*
+ mv gnome-colors gnome-colors-icon-theme )
+
+tar xvf $CWD/oomoxify-$OOMOXIFYVER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/oomoxify
+
+tar xvf $CWD/materia-theme-$MATERIAVER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/theme_materia/materia-theme
+
+tar xvf $CWD/$PRGNAM-gtk-theme-$OOMOXVER.tar.gz --strip-components=1 \
+ -C $PKG/opt/oomox/plugins/theme_oomox/gtk-theme
+
+rm -fr $PKG/opt/oomox/plugins/*/.git* \
+ $PKG/opt/oomox/plugins/*/*/.git* \
+ $PKG/opt/oomox/plugins/theme_oomox/gtk-theme/.editorconfig \
+ $PKG/opt/oomox/plugins/theme_oomox/gtk-theme/.*.yml \
+ $PKG/opt/oomox/plugins/theme_oomox/gtk-theme/{D,d}ocker* \
+ $PKG/opt/oomox/plugins/theme_oomox/gtk-theme/maintenance* \
+ $PKG/opt/oomox/plugins/theme_oomox/gtk-theme/screenshot* \
+ $PKG/opt/oomox/plugins/theme_oomox/gtk-theme/test*
+
+( cd $PKG/opt/oomox/plugins
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 {} \; )
+ find -L . -type d -exec chmod 755 {} \;
+ find -L . -type f -exec chmod 644 {} \;
+ find -L . -type f \( -name '*.sh' -o -name '*.py' \) -exec chmod 755 {} \;
+)
+# End of Plugins Installation
mkdir -p $PKG/usr/bin
cp -a packaging/bin/* $PKG/usr/bin
@@ -136,11 +117,13 @@ mkdir -p $PKG/usr/share/applications
cp -a packaging/com.github.themix_project.Oomox.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/icons/hicolor/symbolic/apps
-cp -a packaging/com.github.themix_project.Oomox-symbolic.svg $PKG/usr/share/icons/hicolor/symbolic/apps/com.github.themix_project.Oomox-symbolic.svg
+cp -a packaging/com.github.themix_project.Oomox-symbolic.svg \
+ $PKG/usr/share/icons/hicolor/symbolic/apps/com.github.themix_project.Oomox-symbolic.svg
for SIZE in 16 24 32 48 512; do
mkdir -p $PKG/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
- cp -a packaging/com.github.themix_project.Oomox-$SIZE.png $PKG/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/com.github.themix_project.Oomox.png
+ cp -a packaging/com.github.themix_project.Oomox-$SIZE.png \
+ $PKG/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/com.github.themix_project.Oomox.png
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION