index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-04 22:57:48 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-11-04 22:57:48 +0000 |
commit | d899a1473f0894f8065ab51a3366347416bd77e0 (patch) | |
tree | 57c6deef037992652105a44083ef675291a29122 /PKGBUILD/archinstall | |
parent | b98850819bdbdb23e354bb5bf5d5383cf807d22d (diff) | |
parent | 887d5ded07e4cac1f5ade27317feeeb85edd0a3e (diff) |
-rw-r--r-- | PKGBUILD/archinstall/PKGBUILD | 26 |
diff --git a/PKGBUILD/archinstall/PKGBUILD b/PKGBUILD/archinstall/PKGBUILD index 40c80c3b..672b8329 100644 --- a/PKGBUILD/archinstall/PKGBUILD +++ b/PKGBUILD/archinstall/PKGBUILD @@ -1,5 +1,5 @@ -# Maintainer: Anton Hvornum anton@hvornum.se -# Contributor: Anton Hvornum anton@hvornum.se +# Maintainer: Anton Hvornum <anton@hvornum.se> +# Contributor: demostanis worlds <demostanis@protonmail.com> pkgname="archinstall" pkgver="2.0.5" pkgdesc="Installs launcher scripts for archinstall" @@ -7,27 +7,23 @@ 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') +sha256sums=('04176c096d13589b874083aecbb9b1d34e676d2b784f55e5368f4ab83ff38c2e') 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" } + +# vim:ft=sh + |