Added the arch to the build

This commit is contained in:
Anton Hvornum 2020-07-10 11:06:41 +00:00
parent 6ac2858816
commit 45268df2e7
2 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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/