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.SlackBuild23
1 files changed, 8 insertions, 15 deletions
diff --git a/desktop/oomox/oomox.SlackBuild b/desktop/oomox/oomox.SlackBuild
index b91a8c5312..8b11241b52 100644
--- a/desktop/oomox/oomox.SlackBuild
+++ b/desktop/oomox/oomox.SlackBuild
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=oomox
-VERSION=${VERSION:-1.7.0.6}
+SRCNAM=themix-gui
+VERSION=${VERSION:-1.15.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +41,6 @@ MATERIAVER=${MATERIAVER:-20180922}
OOMOXVER=${OOMOXVER:-1.9.1}
OOMOXIFYVER=${OOMOXIFYVER:-1.0.1}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,9 +55,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,7 +81,7 @@ tar xvf $CWD/archdroid-icon-theme-$ARCHDROIDVER.tar.gz --strip-components=1 \
-C $PKG/opt/oomox/plugins/icons_archdroid
tar xvf $CWD/base16-builder-$BASE16VER.tar.gz --strip-components=1 \
- -C $PKG/opt/oomox/plugins/import_base16/base16-data
+ -C $PKG/opt/oomox/plugins/base16
tar xvf $CWD/gnome-colors-icon-theme-$GNOMECOLORSVER.tar.gz --strip-components=1 \
-C $PKG/opt/oomox/plugins/icons_gnomecolors
@@ -92,11 +90,12 @@ tar xvf $CWD/gnome-colors-icon-theme-$GNOMECOLORSVER.tar.gz --strip-components=1
mv gnome-colors gnome-colors-icon-theme )
tar xvf $CWD/oomoxify-$OOMOXIFYVER.tar.gz --strip-components=1 \
- -C $PKG/opt/oomox/plugins/oomoxify
+ -C $PKG/opt/oomox/plugins/export_oomoxify
tar xvf $CWD/materia-theme-$MATERIAVER.tar.gz --strip-components=1 \
-C $PKG/opt/oomox/plugins/theme_materia/materia-theme
+mkdir -p $PKG/opt/oomox/plugins/theme_oomox/gtk-theme
tar xvf $CWD/$PRGNAM-gtk-theme-$OOMOXVER.tar.gz --strip-components=1 \
-C $PKG/opt/oomox/plugins/theme_oomox/gtk-theme
@@ -130,12 +129,6 @@ 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
-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
-done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION