summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-12 13:38:48 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:23 +0700
commitc22a27b2e662b2fbd820781187222a8be13cd84d (patch)
tree3c32e2b3702fc2331e924879e9a3eb5c03c93aab
parent436c3bbd3ede9fae6f4a8315719eb68dea5120c0 (diff)
downloadslackbuilds-c22a27b2e662b2fbd820781187222a8be13cd84d.tar.gz
libraries/stormlib: Use correct github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/stormlib/stormlib.SlackBuild13
-rw-r--r--libraries/stormlib/stormlib.info2
2 files changed, 8 insertions, 7 deletions
diff --git a/libraries/stormlib/stormlib.SlackBuild b/libraries/stormlib/stormlib.SlackBuild
index 94eaf342a1..e7a15014a0 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 949dbeddce..b288f7a286 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=""