aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-28 23:54:12 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:44 +0700
commit4944113024a95893bc4c50f7ca0919800bd637a8 (patch)
treed92c855211c1a5a19cd9a9dad3dafa9d0d3cef54
parent079a23719e9454fd4eeb975910b262f872f33460 (diff)
desktop/breath-gtk-theme: Fix tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild b/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild
index 5af2793236d76..73945cd61a608 100644
--- a/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild
+++ b/desktop/breath-gtk-theme/breath-gtk-theme.SlackBuild
@@ -72,7 +72,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+TARBALL=$CWD/$VERSION.tar.gz
+if [ ! -e $TARBALL ] ; then
+ TARBALL=$CWD/breath-gtk-$VERSION.tar.gz
+fi
+tar xvf $TARBALL
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -86,7 +90,7 @@ 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