Fixed subpackaging

This commit is contained in:
Ella-0 2021-02-02 14:43:56 +00:00
parent 4848e542d3
commit 89caa8b7c9

View file

@ -1,9 +1,15 @@
#!/bin/sh
export MAKEFLAGS="-j6"
export JOBS="16"
export RUSTFLAGS="-C target-feature=-crt-static"
export CC=clang
export CXX=clang++
stat /etc/lazypkg.conf > /dev/null 2> /dev/null && . /etc/lazypkg.conf
export SAMUFLAGS=-j$JOBS
export MAKEFLAGS=-j$JOBS
. ./build.sh
dir=$(pwd)
stat out > /dev/null && rm -rf out
@ -52,6 +58,7 @@ find * >> $dir/out/$pkgname/usr/share/lazypkg/$pkgname
cd $dir/out/$pkgname
tar -cf ../$pkgname.$pkgver.tar.xz *
if [ $ext ]; then
echo $ext | tr ':' '\n' | while read e; do
echo \$e
@ -89,6 +96,8 @@ EOF
done
fi
" | sh
cd $dir