Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 11:01:49 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 11:01:49 +0000
commit6ac2858816a0aad224c953cb70affcce6af5ea7f (patch)
tree1266a162f45d73c364aa3ca3210eb6245baf9b5d
parent2e0295d50160c6ffb953bb15dbabbfeca0d72fe3 (diff)
Fixed the build to include the examples in the right location.
-rw-r--r--PKGBUILD2
-rwxr-xr-xmake.sh7
2 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0f9c6c7..51959640 100644
--- a/PKGBUILD
+++ b/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"
}
diff --git a/make.sh b/make.sh
index 92559930..b79d52e5 100755
--- a/make.sh
+++ b/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/