Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/slackbuilds

This commit is contained in:
Gwenhael Le Moine 2024-10-22 13:48:37 +02:00
commit 1702c92912
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 9 additions and 3 deletions

View file

@ -6,7 +6,7 @@ PRGNAM=$(basename $CWD)
GITHUB_REPO=Kron4ek/Conty GITHUB_REPO=Kron4ek/Conty
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/${GITHUB_REPO}/releases/latest | grep tag_name | grep -o "[0-9.]*")} VERSION=${VERSION:-$(curl -s https://api.github.com/repos/${GITHUB_REPO}/releases/latest | grep tag_name | grep -o "[0-9.]*")}
ARCH=${ARCH:-$(uname -m)} ARCH=${ARCH:-$(uname -m)}
BUILD=${BUILD:-5} BUILD=${BUILD:-6}
TAG=${TAG:-gwh} TAG=${TAG:-gwh}
EDITION=${EDITION:-"_lite_dwarfs"} # "", "_lite", "_dwarfs", "_lite_dwarfs" EDITION=${EDITION:-"_lite_dwarfs"} # "", "_lite", "_dwarfs", "_lite_dwarfs"
@ -31,6 +31,9 @@ cd $PKG$PREFIX/bin/
cat <<EOF > steam cat <<EOF > steam
#!/bin/bash #!/bin/bash
# https://github.com/ValveSoftware/steam-for-linux/issues/11358
unset SDL_VIDEODRIVER
$PREFIX/bin/conty steam "\$@" $PREFIX/bin/conty steam "\$@"
EOF EOF

View file

@ -6,7 +6,7 @@ PRGNAM=$(basename "$CWD")
GITHUB_REPO=Kron4ek/Conty GITHUB_REPO=Kron4ek/Conty
VERSION=${VERSION:-"latest"} VERSION=${VERSION:-"latest"}
ARCH=${ARCH:-$(uname -m)} ARCH=${ARCH:-$(uname -m)}
BUILD=${BUILD:-2} BUILD=${BUILD:-5}
TAG=${TAG:-gwh} TAG=${TAG:-gwh}
TMP=${TMP:-/tmp/$TAG} TMP=${TMP:-/tmp/$TAG}
@ -59,6 +59,9 @@ cd "$PKG$PREFIX/bin/" || exit 1
cat <<EOF > steam cat <<EOF > steam
#!/bin/bash #!/bin/bash
# https://github.com/ValveSoftware/steam-for-linux/issues/11358
unset SDL_VIDEODRIVER
$PREFIX/bin/conty steam "\$@" $PREFIX/bin/conty steam "\$@"
EOF EOF
chmod +x steam chmod +x steam

View file

@ -51,7 +51,7 @@ cat <<EOF > $PKG/etc/rc.d/rc.hledger-web.new
# #
DAEMON_USER=gwh DAEMON_USER=gwh
DAEMON_OPTIONS=" --server --host=0.0.0.0 --port=7458 --capabilities=view,add,manage --file=/path/to/file.ledger --base-url=https://my-host.tld " DAEMON_OPTIONS=" --server --empty --host=0.0.0.0 --port=7458 --file=/path/to/file.ledger --base-url=https://my-host.tld "
start() { start() {
if [ -x /usr/bin/hledger-web ]; then if [ -x /usr/bin/hledger-web ]; then