Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/slackbuilds
This commit is contained in:
commit
c2d8f131da
1 changed files with 4 additions and 15 deletions
|
@ -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 ./*
|
||||
|
|
Loading…
Reference in a new issue