summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--arch-install-scripts.spec56
-rw-r--r--sources1
3 files changed, 58 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..af94ea2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v28.tar.gz
diff --git a/arch-install-scripts.spec b/arch-install-scripts.spec
new file mode 100644
index 0000000..ae5fc04
--- /dev/null
+++ b/arch-install-scripts.spec
@@ -0,0 +1,56 @@
+Name: arch-install-scripts
+Version: 28
+Release: 1
+Summary: Scripts to bootstrap Arch Linux distribution
+License: GPLv2
+URL: https://github.com/archlinux/arch-install-scripts
+Source0: https://github.com/archlinux/arch-install-scripts/archive/refs/tags/v28.tar.gz
+BuildArch: noarch
+
+BuildRequires: m4
+BuildRequires: asciidoc
+BuildRequires: make
+
+Requires: archlinux-keyring
+Requires: pacman
+
+%description
+A small suite of scripts aimed at automating some menial tasks when installing
+Arch Linux, most notably including actually performing the installation.
+
+To install and launch Arch in a container:
+ pacman-key --init
+ pacman-key --populate archlinux
+ mkdir -p /var/lib/machines/arch
+ pacstrap -G -M -i -c /var/lib/machines/arch base
+ systemd-nspawn -bD /var/lib/machines/arch
+
+%prep
+%setup -q
+
+%build
+%make_build PREFIX=%{_prefix}
+
+%install
+%make_install PREFIX=%{_prefix}
+
+%check
+make check
+
+%files
+%license COPYING
+%{_bindir}/arch-chroot
+%{_bindir}/genfstab
+%{_bindir}/pacstrap
+%{_datadir}/bash-completion/completions/arch-chroot
+%{_datadir}/bash-completion/completions/genfstab
+%{_datadir}/bash-completion/completions/pacstrap
+%dir %{_datadir}/zsh/site-functions
+%{_datadir}/zsh/site-functions/_archinstallscripts
+%{_mandir}/man8/arch-chroot.8*
+%{_mandir}/man8/genfstab.8*
+%{_mandir}/man8/pacstrap.8*
+
+%changelog
+* Thu Jul 20 2023 misaka00251 <liuxin@iscas.ac.cn> - 28-1
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e598c94
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+aef7850cd3b9b9f6909aa17e329587fa v28.tar.gz