This commit is contained in:
Gwenhael Le Moine 2024-05-21 22:26:59 +02:00
parent 16125498b5
commit b27ae21418
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -3,7 +3,7 @@
# variables # variables
VERSION=${VERSION:-latest} VERSION=${VERSION:-latest}
BUILD=1 BUILD=2
TAG=gwh TAG=gwh
OUTPUT=/tmp OUTPUT=/tmp
@ -37,8 +37,8 @@ cd "$TMP/$PRGNAM/" || exit 1
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION" [ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
#zig build -Drelease-safe --prefix "$PKG$PREFIX" install #zig build -Drelease-safe --prefix "$PKG$PREFIX" install
make #make ZIG_FLAGS=" --release=safe " #"fast -fno-sanitize=undefined "
make install PREFIX="$PKG$PREFIX" MANDIR="$PKG$PREFIX"/man/man1 make install PREFIX="$PKG$PREFIX" MANDIR="$PKG$PREFIX"/man/man1 ZIG_FLAGS=" --release=safe "
mkdir -p "$PKG$PREFIX/doc/$PRGNAM" mkdir -p "$PKG$PREFIX/doc/$PRGNAM"
cp -a LICENSES/ ChangeLog ./*.md "$PKG$PREFIX/doc/$PRGNAM/" cp -a LICENSES/ ChangeLog ./*.md "$PKG$PREFIX/doc/$PRGNAM/"