mint-themes: Use generate-themes.py script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2019-03-12 18:02:11 +07:00
parent c3e639bc2f
commit 619169533f
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -2,7 +2,7 @@
# Slackware build script for mint-themes
# Copyright 2018 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2018-2019 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
PRGNAM=mint-themes
VERSION=${VERSION:-1.7.8}
COMMITVER=${COMMITVER:-9e29e3dbbe3df8e6f9eb88ae85b1955509d4a2f3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_csb}
ARCH=noarch
@ -46,10 +46,9 @@ rm -rf $PRGNAM-$COMMITVER
unzip $CWD/$COMMITVER.zip
cd $PRGNAM-$COMMITVER
mkdir -p $PKG/usr/share
rm -rf debian
make
mv files/usr/share/themes $PKG/usr/share
python3 generate-themes.py
cp -rf usr $PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild