Add arch repo
This commit is contained in:
parent
3563fabeaf
commit
b25f5e6e58
2 changed files with 34 additions and 1 deletions
12
.drone.yml
12
.drone.yml
|
@ -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
23
archlinux.sh
Normal 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")
|
Loading…
Reference in a new issue