redo prep (copied from askiiart/repo-automation) and add paru
Some checks reported errors
continuous-integration/drone Build was killed
Some checks reported errors
continuous-integration/drone Build was killed
This commit is contained in:
parent
4e50129218
commit
2ccaf1a5c0
1 changed files with 28 additions and 6 deletions
|
@ -4,15 +4,37 @@ echo '
|
||||||
SigLevel = Optional
|
SigLevel = Optional
|
||||||
Server = https://askiiart.net/repos/archlinux/$arch' | sudo tee -a /etc/pacman.conf
|
Server = https://askiiart.net/repos/archlinux/$arch' | sudo tee -a /etc/pacman.conf
|
||||||
|
|
||||||
sudo pacman -Sy
|
sudo pacman -Syu --noconfirm --needed
|
||||||
|
|
||||||
|
prep() {
|
||||||
sudo mkdir /var/log/makepkg/
|
sudo mkdir /var/log/makepkg/
|
||||||
sudo chown builder /var/log/makepkg/
|
sudo chown builder /var/log/makepkg/
|
||||||
chmod -R 777 /var/log/makepkg/
|
chmod -R 777 /var/log/makepkg/
|
||||||
mkdir /tmp/arch-workdir/
|
|
||||||
|
|
||||||
echo "PKGDEST=/repo/
|
echo "PKGDEST=/repo/
|
||||||
LOGDEST=/var/log/makepkg/" >~/.makepkg.conf
|
LOGDEST=/var/log/makepkg/" >~/.makepkg.conf
|
||||||
|
echo '[multilib]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
[askiiart]
|
||||||
|
Server = https://askiiart.net/repos/archlinux/$arch
|
||||||
|
SigLevel = Optional' | sudo tee -a /etc/pacman.conf
|
||||||
|
sudo pacman -Sy
|
||||||
|
mkdir /tmp/arch-workdir/
|
||||||
|
chmod -R 777 /tmp/arch-workdir/
|
||||||
|
}
|
||||||
|
|
||||||
|
build_aur_package() {
|
||||||
|
cd /tmp/arch-workdir/
|
||||||
|
mkdir ./$1
|
||||||
|
cd ./$1
|
||||||
|
zbuilder.sh $1
|
||||||
|
rm -rf ~/source
|
||||||
|
}
|
||||||
|
|
||||||
|
prep
|
||||||
|
|
||||||
|
build_aur_package 'paru'
|
||||||
|
|
||||||
cd /tmp/arch-workdir
|
cd /tmp/arch-workdir
|
||||||
git clone https://git.askiiart.net/askiiart-blendos/akshara
|
git clone https://git.askiiart.net/askiiart-blendos/akshara
|
||||||
|
|
Loading…
Reference in a new issue