intial commit - akshara, blend/user, blend-inst
This commit is contained in:
commit
eb364d752c
2 changed files with 53 additions and 0 deletions
17
.drone.yml
Normal file
17
.drone.yml
Normal 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
|
36
blendos-repo-automation.sh
Normal file
36
blendos-repo-automation.sh
Normal 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")
|
Loading…
Reference in a new issue