From 76c386951a802abd814f88aa9d67109275244a5c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 18 Aug 2020 21:54:34 +0000 Subject: Added build support for PKGBUILD. Also slimmed down make.sh to only compile the binary and nothing more. That way it's easier to ship the build to https://archlinux.life/bin/. Updated README to reflext the archlinux.life domain instead of hvornum.se since projects regarding archlinux will reside there or elsewhere in the future. --- make.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'make.sh') diff --git a/make.sh b/make.sh index e369209a..30e622f8 100755 --- a/make.sh +++ b/make.sh @@ -1,15 +1,17 @@ #!/bin/bash -# Description: Crude build/maker script for PKGBUILD dependencies and stuff. +# Description: Binary builder for https://archlinux.life/bin/ -rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ archinstall-v2.0.4rc3-x86_64/ *.pkg.*.xz archinstall-*.tar.gz +VERSION="2.0.4rc4" + +rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ "archinstall-v${VERSION}-x86_64/" *.pkg.*.xz archinstall-*.tar.gz nuitka3 --standalone --show-progress archinstall cp -r examples/ archinstall.dist/ -mv archinstall.dist archinstall-v2.0.4rc3-x86_64 -tar -czvf archinstall-v2.0.4rc3.tar.gz archinstall-v2.0.4rc3-x86_64 -makepkg -f +mv archinstall.dist "archinstall-v${VERSION}-x86_64" +tar -czvf "archinstall-v${VERSION}.tar.gz" "archinstall-v${VERSION}-x86_64" -python3 setup.py sdist bdist_wheel -echo 'python3 -m twine upload dist/*; rm -rf dist/' +# makepkg -f +# python3 setup.py sdist bdist_wheel +# echo 'python3 -m twine upload dist/*; rm -rf dist/' -rm -rf archinstall.egg-info/ build/ src/ pkg/ archinstall.build/ archinstall-v2.0.4rc3-x86_64/ +rm -rf archinstall.egg-info/ build/ src/ pkg/ archinstall.build/ "archinstall-v${VERSION}-x86_64/" -- cgit v1.2.3-70-g09d2