libraries/stormlib: Use correct github URL.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-04-12 13:38:48 -04:00 committed by Willy Sudiarto Raharjo
parent 436c3bbd3e
commit c22a27b2e6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 7 deletions

View file

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

View file

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