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

This commit is contained in:
Gwenhael Le Moine 2024-12-29 14:40:12 +01:00
commit c2d8f131da
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -36,22 +36,11 @@ cd "$TMP/$PRGNAM" || exit 1
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
DESTDIR=$PKG \
zig build \
zig build \
--prefix /usr \
-Doptimize=ReleaseFast \
-Dcpu=baseline
# # installation
# mkdir -p "$PKG$PREFIX"/bin/
# cp duf "$PKG$PREFIX"/bin/
# mkdir -p "$PKG$PREFIX"/man/man1/
# cp duf.1 "$PKG$PREFIX"/man/man1/
# gzip -9 "$PKG$PREFIX"/man/man1/duf.1
# mkdir -p "$PKG$PREFIX/doc/$PRGNAM"
# cp -a LICENSE README.md duf.png "$PKG$PREFIX/doc/$PRGNAM"
# correction
cd "$PKG" || exit 1
chown -R root:root ./*