summaryrefslogtreecommitdiff
path: root/pkgmgt/xbps/xs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgmgt/xbps/xs')
-rwxr-xr-xpkgmgt/xbps/xs22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgmgt/xbps/xs b/pkgmgt/xbps/xs
new file mode 100755
index 0000000..31782ef
--- /dev/null
+++ b/pkgmgt/xbps/xs
@@ -0,0 +1,22 @@
+#!/bin/sh
+voidpkgsdir=~/.local/share/src/tjk-void-packages
+srcpkgsdir=$voidpkgsdir/srcpkgs
+pkgs="brave-bin"
+expkgs="brave-bin" # Extra packages installed in the srcpkgs directory that need to be separately updated through git
+gp() { git pull --verbose; }
+
+cd $voidpkgsdir
+gp
+
+if [ -n $expkgs ]; then
+ cd $srcpkgsdir
+ for repo in "$expkgs"; do
+ cd $repo && gp
+ cd $srcpkgsdir
+ done
+fi
+
+cd $voidpkgsdir
+./xbps-src binary-bootstrap
+./xbps-src pkg $pkgs
+doas xbps-install --repository=hostdir/binpkgs $pkgs