summaryrefslogtreecommitdiff
path: root/games/arx-libertatis
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2019-11-24 20:46:23 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:09:19 -0500
commitc5c6e150fc4291557a24a8bc8bebe913581efbb4 (patch)
tree5398cbf773ae30e255b14a801f0d11e2ff02354e /games/arx-libertatis
parent1d725e18a38c0bf55185bd5787c6fff0960db6d2 (diff)
downloadslackbuilds-c5c6e150fc4291557a24a8bc8bebe913581efbb4.tar.gz
games/arx-libertatis: Updated for version 1.2_dev_2019_07_22.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/arx-libertatis')
-rw-r--r--games/arx-libertatis/arx-libertatis-1.1.2-cmake3.5.patch12
-rw-r--r--games/arx-libertatis/arx-libertatis.SlackBuild14
-rw-r--r--games/arx-libertatis/arx-libertatis.info8
3 files changed, 10 insertions, 24 deletions
diff --git a/games/arx-libertatis/arx-libertatis-1.1.2-cmake3.5.patch b/games/arx-libertatis/arx-libertatis-1.1.2-cmake3.5.patch
deleted file mode 100644
index 98f05e38cf..0000000000
--- a/games/arx-libertatis/arx-libertatis-1.1.2-cmake3.5.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up ./cmake/VersionString.cmake.orig ./cmake/VersionString.cmake
---- ./cmake/VersionString.cmake.orig 2016-03-22 19:18:55.656290322 +0200
-+++ ./cmake/VersionString.cmake 2016-03-22 19:19:08.239813098 +0200
-@@ -33,7 +33,7 @@ function(version_file SRC DST VERSION_SO
-
- foreach(arg IN LISTS VERSION_SOURCES)
-
-- if(mode STREQUAL "variable")
-+ if("${mode}" STREQUAL "variable")
- set(mode "file")
- else()
- get_filename_component(arg "${arg}" ABSOLUTE)
diff --git a/games/arx-libertatis/arx-libertatis.SlackBuild b/games/arx-libertatis/arx-libertatis.SlackBuild
index 4ea8ad7a4f..7e6b7133b2 100644
--- a/games/arx-libertatis/arx-libertatis.SlackBuild
+++ b/games/arx-libertatis/arx-libertatis.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=arx-libertatis
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-1.2_dev_2019_07_22}
+SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,9 +70,6 @@ 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 {} \;
-# Fix build with cmake3.5 (patch thanks to Mageia)
-patch -p1 < $CWD/arx-libertatis-1.1.2-cmake3.5.patch
-
mkdir -p build
cd build
cmake \
@@ -97,7 +95,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ARX_PUBLIC_LICENSE.txt AUTHORS CHANGELOG *.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE* AUTHORS CHANGELOG *.md COPYING VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/arx-libertatis/arx-libertatis.info b/games/arx-libertatis/arx-libertatis.info
index f0955d2d2b..536e92699a 100644
--- a/games/arx-libertatis/arx-libertatis.info
+++ b/games/arx-libertatis/arx-libertatis.info
@@ -1,10 +1,10 @@
PRGNAM="arx-libertatis"
-VERSION="1.1.2"
+VERSION="1.2_dev_2019_07_22"
HOMEPAGE="http://arx-libertatis.org"
-DOWNLOAD="http://downloads.sourceforge.net/project/arx/arx-libertatis-1.1.2/arx-libertatis-1.1.2.tar.xz"
-MD5SUM="543dfdaaaaf7c337227c1b6a3087589a"
+DOWNLOAD="https://arx-libertatis.org/files/snapshots/arx-libertatis-1.2-dev-2019-07-22/arx-libertatis-1.2-dev-2019-07-22.tar.xz"
+MD5SUM="eda328e8cf753678e924b3bd9c629d79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL zenity"
+REQUIRES="OpenAL glm zenity"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"