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-07-10 08:46:00 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 08:46:00 +0000
commit2e0295d50160c6ffb953bb15dbabbfeca0d72fe3 (patch)
treef1e45bcfa3d231f42f117d405d900900afffa1f9 /make.sh
parentcc0f1210ad0eefaa772a2c63effa5ff1c538e2a2 (diff)
Added a build script for my own sanity
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/make.sh b/make.sh
new file mode 100755
index 00000000..92559930
--- /dev/null
+++ b/make.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+# Description: Crude build/maker script for PKGBUILD dependencies and stuff.
+
+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
+
+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
+echo 'python3 -m twine upload dist/*'