cleaning
This commit is contained in:
parent
fc942effd7
commit
db7588ca23
1 changed files with 4 additions and 15 deletions
|
@ -36,21 +36,10 @@ 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"
|
||||||
|
|
||||||
DESTDIR=$PKG \
|
DESTDIR=$PKG \
|
||||||
zig build \
|
zig build \
|
||||||
--prefix /usr \
|
--prefix /usr \
|
||||||
-Doptimize=ReleaseFast \
|
-Doptimize=ReleaseFast \
|
||||||
-Dcpu=baseline
|
-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
|
# correction
|
||||||
cd "$PKG" || exit 1
|
cd "$PKG" || exit 1
|
||||||
|
|
Loading…
Reference in a new issue