summaryrefslogtreecommitdiffstats
path: root/desktop/breath-gtk-theme
diff options
context:
space:
mode:
author Isaac Yu2023-05-27 21:16:31 +0200
committer Willy Sudiarto Raharjo2023-05-31 12:58:19 +0200
commitbc431ef794acd9983384a2188e4d02bdf64c35c2 (patch)
treec43d39565ed296c7ecdaf03d41ab030eacdcad97 /desktop/breath-gtk-theme
parent23b6920b7998593931ccd0d0c4b6ab42c7cb5d8f (diff)
downloadslackbuilds-bc431ef794acd9983384a2188e4d02bdf64c35c2.tar.gz
desktop/breath-gtk-theme: Change version format
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/breath-gtk-theme')
-rw-r--r--desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild18
-rw-r--r--desktop/breath-gtk-theme/breath-gtk-theme.info2
2 files changed, 9 insertions, 11 deletions
diff --git a/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild b/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild
index 73945cd61a..49bf48f746 100644
--- a/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild
+++ b/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild
@@ -25,12 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=breath-gtk-theme
-VERSION=${VERSION:-da2706640f457f89de6c26312e391b244ff550b4}
+VERSION=${VERSION:-5.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=breath-gtk
+COMMIT=${COMMIT:-da2706640f457f89de6c26312e391b244ff550b4}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -71,13 +69,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-TARBALL=$CWD/$VERSION.tar.gz
+rm -rf $SRCNAM-$COMMIT
+TARBALL=$CWD/$COMMIT.tar.gz
if [ ! -e $TARBALL ] ; then
- TARBALL=$CWD/breath-gtk-$VERSION.tar.gz
+ TARBALL=$CWD/breath-gtk-$COMMIT.tar.gz
fi
tar xvf $TARBALL
-cd $SRCNAM-$VERSION
+cd $SRCNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -90,8 +88,8 @@ cd build
cmake -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
- ..
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
make
make install DESTDIR=$PKG
cd ..
diff --git a/desktop/breath-gtk-theme/breath-gtk-theme.info b/desktop/breath-gtk-theme/breath-gtk-theme.info
index 405e667dce..3e391399a5 100644
--- a/desktop/breath-gtk-theme/breath-gtk-theme.info
+++ b/desktop/breath-gtk-theme/breath-gtk-theme.info
@@ -1,5 +1,5 @@
PRGNAM="breath-gtk-theme"
-VERSION="da2706640f457f89de6c26312e391b244ff550b4"
+VERSION="5.9.0"
HOMEPAGE="https://gitlab.manjaro.org/artwork/themes/breath-gtk"
DOWNLOAD="https://gitlab.manjaro.org/artwork/themes/breath-gtk/-/archive/da2706640f457f89de6c26312e391b244ff550b4.tar.gz"
MD5SUM="a0d510c87a9675d463190075294a08c6"