mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
games/principia: Updated for version 2024.02.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6db531c034
commit
c223028b1e
3 changed files with 11 additions and 11 deletions
|
@ -1,4 +1,2 @@
|
|||
principia (physics-based sandbox game)
|
||||
|
||||
Build and play advanced contraptions, circuiting, minigames,
|
||||
robot adventures and more.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for principia
|
||||
|
||||
# Copyright 2023 Johannes Schoepfer, Germany
|
||||
# Copyright 2023-2024 Johannes Schoepfer, Germany
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,8 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=principia
|
||||
VERSION=${VERSION:-20231229_25f1144}
|
||||
COMMIT=25f11443dfcd13f67a3ccf2ceff5d6d944fdaf90
|
||||
VERSION=${VERSION:-2024.02.29}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -53,9 +52,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$COMMIT
|
||||
tar vxf $CWD/$PRGNAM-$COMMIT.tar.gz
|
||||
cd $PRGNAM-$COMMIT
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar vxf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -76,6 +75,9 @@ cd build
|
|||
DESTDIR=$PKG $NINJA install
|
||||
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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="principia"
|
||||
VERSION="20231229_25f1144"
|
||||
VERSION="2024.02.29"
|
||||
HOMEPAGE="https://principia-web.se/"
|
||||
DOWNLOAD="https://github.com/Bithack/principia/archive/25f1144/principia-25f11443dfcd13f67a3ccf2ceff5d6d944fdaf90.tar.gz"
|
||||
MD5SUM="33c0ad0fb12d537c7e9f643a69daf16e"
|
||||
DOWNLOAD="https://github.com/Bithack/principia/archive/2024.02.29/principia-2024.02.29.tar.gz"
|
||||
MD5SUM="edbeecdb543c1f9b064357061606b61b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue