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:06:41 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 11:06:41 +0000
commit45268df2e7954b4c86f11b88610d80a3400c92bd (patch)
tree82156a7dc41c9bf5e6dcfb1680526a2500534227
parent6ac2858816a0aad224c953cb70affcce6af5ea7f (diff)
Added the arch to the build
-rw-r--r--PKGBUILD4
-rwxr-xr-xmake.sh8
2 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51959640..ac760a11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,11 +9,11 @@ license=('GPLv3')
provides=("${pkgname}")
md5sums=('SKIP')
arch=('x86_64')
-source=("${pkgname}-${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}-x86_64.tar.gz")
#makedepends=('python>=3.8')
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}-x86_64"
mkdir -p "${pkgdir}/var/lib/archinstall/"
mkdir -p "${pkgdir}/usr/bin"
diff --git a/make.sh b/make.sh
index b79d52e5..448e8c78 100755
--- a/make.sh
+++ b/make.sh
@@ -1,15 +1,15 @@
#!/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
+rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ archinstall-v2.0.3-x86_64/ *.pkg.*.xz archinstall-*.tar.gz
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
+mv archinstall.dist archinstall-v2.0.3-x86_64
+tar -czvf archinstall-v2.0.3.tar.gz archinstall-v2.0.3-x86_64
makepkg -f
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/
+rm -rf archinstall.egg-info/ build/ dist/ src/ pkg/ archinstall.build/ archinstall-v2.0.3-x86_64/