| Hash | Commit message | Author | Date | Files | + | - |
1 | commit d9040ffa74a94ed4900d17c823fded8d707c552f |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Sun May 8 01:53:24 2022 +0200 |
4 | |
5 | Update. |
6 | --- |
7 | PKGBUILD | 4 ++-- |
8 | autoInstall | 10 ++++++++++ |
9 | 2 files changed, 12 insertions(+), 2 deletions(-) |
10 | |
11 | diff --git a/PKGBUILD b/PKGBUILD |
12 | index 14ab2d6..e13bf66 100644 |
13 | --- a/PKGBUILD |
14 | +++ b/PKGBUILD |
15 | @@ -5,12 +5,12 @@ pkgver=4.2 |
16 | pkgrel=1 |
17 | pkgdesc='ArchLinux bootstrap and partitioning scripts, with a selection of WM and DEs' |
18 | arch=(x86_64) |
19 | -url="https://gitlab.com/a4to/${pkgname}" |
20 | +url="https://git.concise.cc/${pkgname}" |
21 | install="auto.install" |
22 | license=('MIT') |
23 | depends=(dialog) |
24 | makedepends=(git) |
25 | -source=("git+$url.git") |
26 | +source=("${url}.tar.gz::https://git.concise.cc/${pkgname}") |
27 | sha256sums=('SKIP') |
28 | |
29 | package() { |
30 | diff --git a/autoInstall b/autoInstall |
31 | index 122a17b..7955be6 100755 |
32 | --- a/autoInstall |
33 | +++ b/autoInstall |
34 | @@ -248,6 +248,15 @@ gitinstall(){ |
35 | makepkg -sri >/dev/null 2>&1 |
36 | cd /tmp || return 1 ; } |
37 | |
38 | +coninstall(){ |
39 | + progname="$(basename "$1" .git)" |
40 | + dir="$repodir/$progname" |
41 | + dialog --title "AutoLinux Installation" --infobox "Cloning and Building '$progname' from Concise Repo. ($n of $total). '$(basename "$1")' $2" 5 70 |
42 | + sudo -u "$name" git clone --depth 1 https://git.concise.cc/"$1" "$dir" >/dev/null 2>&1 || { cd "$dir" || return 1 ; sudo -u "$name" git pull --force origin master;} |
43 | + cd "$dir" || exit 1 |
44 | + makepkg -sri >/dev/null 2>&1 |
45 | + cd /tmp || return 1 ; } |
46 | + |
47 | gitcompile(){ |
48 | progname="$(basename "$1" .git)" |
49 | dir="$repodir/$progname" |
50 | @@ -282,6 +291,7 @@ installationloop(){ \ |
51 | "G") gitcompile "$program" "$comment" ;; |
52 | "P") pipinstall "$program" "$comment" ;; |
53 | "R") replacedir "$program" "$comment" ;; |
54 | + "C") coninstall "$program" "$comment" ;; |
55 | *) maininstall "$program" "$comment" ;; |
56 | esac |
57 | done < /tmp/editions.csv ; } |