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>
This commit is contained in:
Andrew Clemons 2022-02-28 23:54:12 +13:00 committed by Willy Sudiarto Raharjo
parent 079a23719e
commit 4944113024
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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