summaryrefslogtreecommitdiff
path: root/pkgmgt/xbps/xs
blob: 31782ef26fb52d9a426dcb4073822c341d0dee43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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