aboutsummaryrefslogtreecommitdiff
path: root/mkrepo.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-09-05 17:38:13 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2025-09-05 17:38:13 -0400
commit0b11c5f77323f72fb56f8dc217c726133860f1f9 (patch)
tree078f5727f48c7b12f24f3e4d55f919c64eb74458 /mkrepo.sh
parent158aad959cab6784d06728f617ee6255d4c2f7fe (diff)
downloadvoussoir-0b11c5f77323f72fb56f8dc217c726133860f1f9.tar.gz
voussoir-0b11c5f77323f72fb56f8dc217c726133860f1f9.tar.xz
Pull in some stuff from releng and add some AUR packages.
Diffstat (limited to 'mkrepo.sh')
-rwxr-xr-xmkrepo.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/mkrepo.sh b/mkrepo.sh
new file mode 100755
index 0000000..8fe1164
--- /dev/null
+++ b/mkrepo.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+set -ex
+mkdir -p ./pkgrepo
+#shellcheck disable=SC2155
+export PKGDEST="$(pwd)"/pkgrepo
+if ! [ -L /tmp/arch_pkgrepo ] ; then
+ ln -s "$(pwd)"/pkgrepo /tmp/arch_pkgrepo
+fi
+
+
+#############################################################
+
+if ! [ -d pkgs/yay ] ; then
+ git clone https://aur.archlinux.org/yay.git pkgs/yay
+fi
+cd pkgs/yay
+makepkg -sf
+cd -
+
+
+if ! [ -d pkgs/brave-bin ] ; then
+ git clone https://aur.archlinux.org/brave-bin.git pkgs/brave-bin
+fi
+cd pkgs/brave-bin
+makepkg -sf
+cd -
+
+
+cd /tmp/arch_pkgrepo
+repo-add ./bootstrapper.db.tar.zst ./*
+cd -