aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2024-07-02 12:30:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-02 12:38:46 +0700
commit472e216264f7a08c54f64aaa7e9cb11a22e7da51 (patch)
treed00767e0983a1dcff3cc1738997d0607b54674d5 /games
parentb6f0fbbe8de6feac3af7abe73c6de39916974a17 (diff)
games/principia: Updated for version 2024.06.28.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/principia/principia.SlackBuild13
-rw-r--r--games/principia/principia.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/games/principia/principia.SlackBuild b/games/principia/principia.SlackBuild
index bed700b6a37e7..5654009d8cb98 100644
--- a/games/principia/principia.SlackBuild
+++ b/games/principia/principia.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=principia
-VERSION=${VERSION:-2024.02.29}
+VERSION=${VERSION:-2024.06.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,20 +67,17 @@ cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
cmake \
+ -G Ninja \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release .. -G Ninja
+ -DCMAKE_BUILD_TYPE=Release ..
"${NINJA:=ninja}"
- DESTDIR=$PKG $NINJA install
+ DESTDIR=$PKG $NINJA install/strip
cd ..
-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 \
- AUTHORS.md THANKS.md LICENSE.md README.md \
+cp -a AUTHORS.md THANKS.md LICENSE.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/principia/principia.info b/games/principia/principia.info
index 66fc6fe254dcd..04917e7250752 100644
--- a/games/principia/principia.info
+++ b/games/principia/principia.info
@@ -1,8 +1,8 @@
PRGNAM="principia"
-VERSION="2024.02.29"
+VERSION="2024.06.28"
HOMEPAGE="https://principia-web.se/"
-DOWNLOAD="https://github.com/Bithack/principia/archive/2024.02.29/principia-2024.02.29.tar.gz"
-MD5SUM="edbeecdb543c1f9b064357061606b61b"
+DOWNLOAD="https://github.com/Bithack/principia/archive/2024.06.28/principia-2024.06.28.tar.gz"
+MD5SUM="5dfb93d4d8201f148c22acc2a9119508"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""