diff --git a/build-scripts/libxslt.build b/build-scripts/libxslt.build index 3fa4620..3f7380b 100644 --- a/build-scripts/libxslt.build +++ b/build-scripts/libxslt.build @@ -1,7 +1,7 @@ #! /bin/bash # LibXSLT -# Source: https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.39.tar.xz +# Source: https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.43.tar.xz # # $BUILD = Directory to temporarily install # $PKGS = Directory to store built packages @@ -18,8 +18,10 @@ export CFLAGS+="-O3 -ffat-lto-objects -flto=auto " export CFLAGS+="-fstack-protector-strong -fzero-call-used-regs=used " export LDFLAGS="-flto=auto -Wl,-O2 -Wl,--as-needed " +export PVER="1.1.43" + ./configure --prefix=/usr --disable-static \ - --docdir=/usr/share/doc/libxslt-1.1.39 \ + --docdir=/usr/share/doc/libxslt-$PVER \ PYTHON=/usr/bin/python3 $BUILDTRUPLE && read -p "Compile? " && make -j2 && @@ -56,7 +58,7 @@ libxslt: EOF sudo mv /tmp/slack-desc install/ && read -p "Enter to build and install package" && -sudo makepkg -l y -c n $PKGS/libxslt-1.1.39-${PSUFFIX} && +sudo makepkg -l y -c n $PKGS/libxslt-$PVER-${PSUFFIX} && cd /BMAN cat > /tmp/slack-desc << "EOF" @@ -70,6 +72,6 @@ libxslt-doc: libxslt-doc: EOF sudo mv /tmp/slack-desc install/ -sudo makepkg -l y -c n $PKGS/libxslt-doc-1.1.39-${NOPSUFFIX} +sudo makepkg -l y -c n $PKGS/libxslt-doc-$PVER-${NOPSUFFIX} sudo rm -rf /BMAN/* sudo rm -rf $BUILD/*