Add arch repo

This commit is contained in:
askiiart 2024-09-26 13:59:32 -05:00
parent 3563fabeaf
commit b25f5e6e58
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
2 changed files with 34 additions and 1 deletions

View file

@ -17,6 +17,13 @@ steps:
volumes:
- name: bookworm-repo
path: /repo
- name: Update archlinux repo
image: zocker160/aur-builder
commands:
- '/drone/src/archlinux.sh'
volumes:
- name: arch-repo
path: /repo
volumes:
- name: fedora-repo
@ -24,4 +31,7 @@ volumes:
path: /mnt/user/files/repos/fedora/x86_64
- name: bookworm-repo
host:
path: /mnt/user/files/repos/debian
path: /mnt/user/files/repos/debian
- name: arch-repo
host:
path: /mnt/user/files/repos/archlinux/x86_64

23
archlinux.sh Normal file
View file

@ -0,0 +1,23 @@
#!/usr/bin/env bash
mkdir /logs/
echo "PKGDEST=~
LOGDEST=/logs/" >~/.makepkg.conf
mkdir /tmp/arch-workdir
cd /tmp/arch-workdir
git clone https://git.askiiart.net/askiiart/mnt-and-sway
cd ./mnt-and-sway/
makepkg -s -c -C --noconfirm --noprogressbar
cp ./*.pkg.tar.* /results
cd ..
rm -rf ./mnt-and-sway/
mkdir ./librewolf-allow-dark
cd ./librewolf-allow-dark
zabuilder.sh librewolf-allow-dark
rm -rf ./tmp/arch-workdir
cd /repo/
repo-add ./repo.db.tar.zst $(find . -name "*.tar.zst")