Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/slackbuilds
This commit is contained in:
commit
1702c92912
3 changed files with 9 additions and 3 deletions
|
@ -6,7 +6,7 @@ PRGNAM=$(basename $CWD)
|
|||
GITHUB_REPO=Kron4ek/Conty
|
||||
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/${GITHUB_REPO}/releases/latest | grep tag_name | grep -o "[0-9.]*")}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=${BUILD:-5}
|
||||
BUILD=${BUILD:-6}
|
||||
TAG=${TAG:-gwh}
|
||||
|
||||
EDITION=${EDITION:-"_lite_dwarfs"} # "", "_lite", "_dwarfs", "_lite_dwarfs"
|
||||
|
@ -31,6 +31,9 @@ cd $PKG$PREFIX/bin/
|
|||
cat <<EOF > steam
|
||||
#!/bin/bash
|
||||
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/11358
|
||||
unset SDL_VIDEODRIVER
|
||||
|
||||
$PREFIX/bin/conty steam "\$@"
|
||||
EOF
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ PRGNAM=$(basename "$CWD")
|
|||
GITHUB_REPO=Kron4ek/Conty
|
||||
VERSION=${VERSION:-"latest"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-5}
|
||||
TAG=${TAG:-gwh}
|
||||
|
||||
TMP=${TMP:-/tmp/$TAG}
|
||||
|
@ -59,6 +59,9 @@ cd "$PKG$PREFIX/bin/" || exit 1
|
|||
cat <<EOF > steam
|
||||
#!/bin/bash
|
||||
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/11358
|
||||
unset SDL_VIDEODRIVER
|
||||
|
||||
$PREFIX/bin/conty steam "\$@"
|
||||
EOF
|
||||
chmod +x steam
|
||||
|
|
|
@ -51,7 +51,7 @@ cat <<EOF > $PKG/etc/rc.d/rc.hledger-web.new
|
|||
#
|
||||
|
||||
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() {
|
||||
if [ -x /usr/bin/hledger-web ]; then
|
||||
|
|
Loading…
Reference in a new issue