aboutsummaryrefslogtreecommitdiff
path: root/mkrepo.sh
diff options
context:
space:
mode:
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 -