Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authordemostanis <demostanis@protonmail.com>2020-10-23 11:55:36 +0200
committerdemostanis <demostanis@protonmail.com>2020-10-23 11:55:36 +0200
commit4ef2a60e6a93739672c64ce8f08775493bb48186 (patch)
tree6a931d7de304f168ff62226165033ef5515467e1 /PKGBUILD
parent0c235c929c04d0d9268b8afd211bba0abd36ad04 (diff)
Added one single sh file to run archinstall
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD/archinstall/PKGBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/PKGBUILD/archinstall/PKGBUILD b/PKGBUILD/archinstall/PKGBUILD
index 40c80c3b..b8435b33 100644
--- a/PKGBUILD/archinstall/PKGBUILD
+++ b/PKGBUILD/archinstall/PKGBUILD
@@ -7,27 +7,20 @@ pkgrel=1
url="https://github.com/Torxed/archinstall"
license=('GPLv3')
provides=("${pkgname}")
-md5sums=('SKIP')
arch=('x86_64')
source=("${pkgname}-v${pkgver}-x86_64.tar.gz::https://github.com/Torxed/archinstall/archive/v$pkgver.tar.gz")
depends=('python-archinstall')
+md5sums=('a23ec87d901d9dc28a8a36dd7427200f')
package() {
mkdir -p "${pkgdir}/usr/bin"
# Install a guided profile
- echo '#!/bin/bash' > "${pkgdir}/usr/bin/archinstall-guided"
- echo 'python -m archinstall guided' >> "${pkgdir}/usr/bin/archinstall-guided"
+ cat - > "${pkgdir}/usr/bin/archinstall" <<EOF
+#!/bin/sh
- # Install a minimal profile
- echo '#!/bin/bash' > "${pkgdir}/usr/bin/archinstall-minimal"
- echo 'python -m archinstall minimal' >> "${pkgdir}/usr/bin/archinstall-minimal"
+python -m archinstall $@
+EOF
- # Install a unattended profile (safely aborts if no machine specific instructions are found)
- #echo '#!/bin/bash' > "${pkgdir}/usr/bin/archinstall-unattended"
- #echo 'python -m archinstall unattended' >> "${pkgdir}/usr/bin/archinstall-unattended"
-
- chmod +x "${pkgdir}/usr/bin/archinstall-guided"
- chmod +x "${pkgdir}/usr/bin/archinstall-minimal"
- #chmod +x "${pkgdir}/usr/bin/archinstall-unattended"
+ chmod +x "${pkgdir}/usr/bin/archinstall"
}