index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Giancarlo Razzolini <grazzolini@archlinux.org> | 2021-01-25 12:06:24 -0300 |
---|---|---|
committer | Giancarlo Razzolini <grazzolini@archlinux.org> | 2021-01-25 12:06:24 -0300 |
commit | db4659a3eb32efefc14a073fc9049d2cf3a551d6 (patch) | |
tree | d3ab5eefa49004ca38cacd8f7c4773c47816cef2 | |
parent | 5c696c4bc1f0d0e3abae105616fe783b85d6771a (diff) |
-rw-r--r-- | PKGBUILD | 44 | ||||
-rw-r--r-- | PKGBUILDs/archinstall-bin/PKGBUILD (renamed from PKGBUILD/archinstall-bin/PKGBUILD) | 0 | ||||
-rw-r--r-- | PKGBUILDs/archinstall/PKGBUILD (renamed from PKGBUILD/archinstall/PKGBUILD) | 0 | ||||
-rw-r--r-- | PKGBUILDs/python-archinstall/PKGBUILD (renamed from PKGBUILD/python-archinstall/PKGBUILD) | 0 |
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..7e073666 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Anton Hvornum <anton@hvornum.se> +# Contributor: Giancarlo Razzolini <grazzolini@archlinux.org> +# Contributor: demostanis worlds <demostanis@protonmail.com> + +pkgbase=archinstall-git +pkgname=('archinstall-git' 'python-archinstall-git') +pkgver=$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g') +pkgrel=1 +pkgdesc="Just another guided/automated Arch Linux installer with a twist" +arch=('any') +url="https://github.com/Torxed/archinstall" +license=('GPL') +depends=('python') +makedepends=('python-setuptools') + +build() { + cd "$startdir" + + python setup.py build +} + + +package_archinstall-git() { + depends=('python-archinstall-git') + conflicts=('archinstall') + cd "$startdir" + + mkdir -p "${pkgdir}/usr/bin" + + # Install a guided profile + cat - > "${pkgdir}/usr/bin/archinstall" <<EOF +#!/bin/sh +python -m archinstall $@ +EOF + + chmod +x "${pkgdir}/usr/bin/archinstall" +} + +package_python-archinstall-git() { + conflicts=('python-archinstall') + cd "$startdir" + + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build +} diff --git a/PKGBUILD/archinstall-bin/PKGBUILD b/PKGBUILDs/archinstall-bin/PKGBUILD index cf6c1a9c..cf6c1a9c 100644 --- a/PKGBUILD/archinstall-bin/PKGBUILD +++ b/PKGBUILDs/archinstall-bin/PKGBUILD diff --git a/PKGBUILD/archinstall/PKGBUILD b/PKGBUILDs/archinstall/PKGBUILD index d76fe7cf..d76fe7cf 100644 --- a/PKGBUILD/archinstall/PKGBUILD +++ b/PKGBUILDs/archinstall/PKGBUILD diff --git a/PKGBUILD/python-archinstall/PKGBUILD b/PKGBUILDs/python-archinstall/PKGBUILD index 83b174fc..83b174fc 100644 --- a/PKGBUILD/python-archinstall/PKGBUILD +++ b/PKGBUILDs/python-archinstall/PKGBUILD |