Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-08-18 21:54:34 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-18 21:54:34 +0000
commit76c386951a802abd814f88aa9d67109275244a5c (patch)
tree22fe6facdb4c53293eb6e7ec3f4c8217cdc55f9e /make.sh
parent551bb438a39e26fd137af6b75e6f886a5f810141 (diff)
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.
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh18
1 files changed, 10 insertions, 8 deletions
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/"