From c22a27b2e662b2fbd820781187222a8be13cd84d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 12 Apr 2022 13:38:48 -0400 Subject: libraries/stormlib: Use correct github URL. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/stormlib/stormlib.SlackBuild | 13 +++++++------ libraries/stormlib/stormlib.info | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'libraries/stormlib') diff --git a/libraries/stormlib/stormlib.SlackBuild b/libraries/stormlib/stormlib.SlackBuild index 94eaf342a16c..e7a15014a017 100644 --- a/libraries/stormlib/stormlib.SlackBuild +++ b/libraries/stormlib/stormlib.SlackBuild @@ -22,6 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220301 bkw: Modified by SlackBuilds.org: use correct github URL. +# Maintainers: the github URL you use has to save the file with the same name +# with both "wget --content-disposition" and "wget --no-content-disposition". + cd $(dirname $0) ; CWD=$(pwd) #Define environment variables @@ -68,14 +72,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DIRNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$DIRNAM-$VERSION.tar.gz cd $DIRNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ sed -i "s| lib| lib${LIBDIRSUFFIX}|g" CMakeLists.txt mkdir -p build @@ -94,9 +98,6 @@ cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ LICENSE README.md doc \ diff --git a/libraries/stormlib/stormlib.info b/libraries/stormlib/stormlib.info index 949dbeddce06..b288f7a286a3 100644 --- a/libraries/stormlib/stormlib.info +++ b/libraries/stormlib/stormlib.info @@ -1,7 +1,7 @@ PRGNAM="stormlib" VERSION="9.23" HOMEPAGE="http://www.zezula.net/en/mpq/stormlib.html" -DOWNLOAD="https://github.com/ladislav-zezula/StormLib/archive/v9.23/stormlib-9.23.tar.gz" +DOWNLOAD="https://github.com/ladislav-zezula/StormLib/archive/v9.23/StormLib-9.23.tar.gz" MD5SUM="a498eedeb97d0a49fcc8e8b509f1a95b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3