intial commit - akshara, blend/user, blend-inst

This commit is contained in:
askiiart 2024-10-01 22:42:19 -05:00
commit eb364d752c
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
2 changed files with 53 additions and 0 deletions

17
.drone.yml Normal file
View file

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: default
steps:
- name: Update repo
image: zocker160/aur-builder
commands:
- '/drone/src/archlinux.sh'
volumes:
- name: arch-repo
path: /repo
volumes:
- name: arch-repo
host:
path: /mnt/user/files/repos/archlinux/x86_64

View file

@ -0,0 +1,36 @@
#!/usr/bin/env bash
sudo mkdir /var/log/makepkg/
sudo chown builder /var/log/makepkg/
chmod -R 777 /var/log/makepkg/
mkdir /tmp/arch-workdir/
echo "PKGDEST=/repo/
LOGDEST=/var/log/makepkg/" >~/.makepkg.conf
cd /tmp/arch-workdir
git clone https://git.askiiart.net/askiiart-blendos/akshara
cd ./akshara/
git switch packaging
makepkg -s -c -C --noconfirm --noprogressbar
cp ./*.pkg.tar.* /results
cd ..
rm -rf ./akshara/
git clone https://git.askiiart.net/askiiart-blendos/blend
cd ./blend/
git switch packaging
makepkg -s -c -C --noconfirm --noprogressbar
cp ./*.pkg.tar.* /results
cd ..
rm -rf ./blend/
git clone https://git.askiiart.net/askiiart-blendos/blend-inst
cd ./blend-inst/
makepkg -s -c -C --noconfirm --noprogressbar
cp ./*.pkg.tar.* /results
cd ..
rm -rf ./blend-inst/
cd /repo/
rm -rf ./tmp/arch-workdir
repo-add ./askiiart.db.tar.zst $(find . -name "*.tar.zst" ! -name "askiiart.db.tar.zst" ! -name "askiiart.files.tar.zst")