diff options
Diffstat (limited to 'desktop/arc-theme/arc-theme.SlackBuild')
-rw-r--r-- | desktop/arc-theme/arc-theme.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/desktop/arc-theme/arc-theme.SlackBuild b/desktop/arc-theme/arc-theme.SlackBuild index d3a596f6b3ffb..cd0112921d1db 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 |