summaryrefslogtreecommitdiffstats
path: root/desktop/arc-theme/arc-theme.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2021-01-30 16:23:40 +0100
committer Matteo Bernardini2021-01-30 16:23:40 +0100
commitc92ee29b17ad2239ce11ddd76134b199ef5a3ed2 (patch)
treeed33817b0ffbb52c85efc59a8ff7282182e7c0b5 /desktop/arc-theme/arc-theme.SlackBuild
parent2e286279c8e562590897ef95d592f0ce4edbce32 (diff)
downloadslackbuilds-c92ee29b17ad2239ce11ddd76134b199ef5a3ed2.tar.gz
20210130.1 global branch merge.current-20210130.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/arc-theme/arc-theme.SlackBuild')
-rw-r--r--desktop/arc-theme/arc-theme.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/desktop/arc-theme/arc-theme.SlackBuild b/desktop/arc-theme/arc-theme.SlackBuild
index d3a596f6b3..cd0112921d 100644
--- a/desktop/arc-theme/arc-theme.SlackBuild
+++ b/desktop/arc-theme/arc-theme.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=arc-theme
-VERSION=${VERSION:-20170302}
+VERSION=${VERSION:-20201121_81130a2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,16 @@ else
LIBDIRSUFFIX=""
fi
+gnome_shell="--disable-gnome-shell" ; [[ $(which gnome-shell) ]] && gnome_shell=""
+cinnamon="--disable-cinnamon" ; [[ $(which cinnamon-session) ]] && cinnamon=""
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,16 +74,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sh autogen.sh
+sed -i "s|export-png=|export-type=png --export-filename=|" common/*/*.am || exit 1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ $gnome_shell \
+ $cinnamon \
--build=$ARCH-slackware-linux
make