Added the arch to the build
This commit is contained in:
parent
6ac2858816
commit
45268df2e7
4
PKGBUILD
4
PKGBUILD
|
|
@ -9,11 +9,11 @@ license=('GPLv3')
|
||||||
provides=("${pkgname}")
|
provides=("${pkgname}")
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
source=("${pkgname}-${pkgver}.tar.gz")
|
source=("${pkgname}-${pkgver}-x86_64.tar.gz")
|
||||||
#makedepends=('python>=3.8')
|
#makedepends=('python>=3.8')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}-x86_64"
|
||||||
|
|
||||||
mkdir -p "${pkgdir}/var/lib/archinstall/"
|
mkdir -p "${pkgdir}/var/lib/archinstall/"
|
||||||
mkdir -p "${pkgdir}/usr/bin"
|
mkdir -p "${pkgdir}/usr/bin"
|
||||||
|
|
|
||||||
8
make.sh
8
make.sh
|
|
@ -1,15 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Description: Crude build/maker script for PKGBUILD dependencies and stuff.
|
# 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
|
nuitka3 --standalone --show-progress archinstall
|
||||||
cp -r examples/ archinstall.dist/
|
cp -r examples/ archinstall.dist/
|
||||||
mv archinstall.dist 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
|
tar -czvf archinstall-v2.0.3.tar.gz archinstall-v2.0.3-x86_64
|
||||||
makepkg -f
|
makepkg -f
|
||||||
|
|
||||||
python3 setup.py sdist bdist_wheel
|
python3 setup.py sdist bdist_wheel
|
||||||
echo 'python3 -m twine upload dist/*'
|
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/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue