Fixed the build to include the examples in the right location.
This commit is contained in:
parent
2e0295d501
commit
6ac2858816
2
PKGBUILD
2
PKGBUILD
|
|
@ -22,5 +22,7 @@ package() {
|
|||
|
||||
echo '#!/bin/bash' > "${pkgdir}/usr/bin/archinstall"
|
||||
echo '(cd /var/lib/archinstall && exec ./archinstall)' >> "${pkgdir}/usr/bin/archinstall"
|
||||
|
||||
chmod +x "${pkgdir}/var/lib/archinstall/archinstall"
|
||||
chmod +x "${pkgdir}/usr/bin/archinstall"
|
||||
}
|
||||
|
|
|
|||
7
make.sh
7
make.sh
|
|
@ -3,12 +3,13 @@
|
|||
|
||||
rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ archinstall-v2.0.3/ *.pkg.*.xz archinstall-*.tar.gz
|
||||
|
||||
python3 setup.py sdist bdist_wheel
|
||||
nuitka3 --standalone --show-progress archinstall
|
||||
|
||||
cp -r examples/ archinstall.dist/
|
||||
mv archinstall.dist archinstall-v2.0.3
|
||||
tar -czvf archinstall-v2.0.3.tar.gz archinstall-v2.0.3
|
||||
makepkg -f
|
||||
|
||||
rm -rf archinstall.egg-info/ build/ dist/ src/ pkg/ archinstall.build/ archinstall-v2.0.3/ archinstall-*.tar.gz
|
||||
python3 setup.py sdist bdist_wheel
|
||||
echo 'python3 -m twine upload dist/*'
|
||||
|
||||
rm -rf archinstall.egg-info/ build/ dist/ src/ pkg/ archinstall.build/ archinstall-v2.0.3/
|
||||
|
|
|
|||
Loading…
Reference in New Issue