mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Chizi123
2019-07-19 12a276dee40a7fa1a912654e8da197c3e4819749
commit | author | age
48a8a8 1 #!/bin/bash
C 2
3 CHDIR=$(dirname "$(realpath $0)")/chroot 
90f1f8 4 mount --bind $CHDIR $CHDIR
12a276 5 $CHDIR/bin/arch-chroot $CHDIR su joel -c "cd /build/repo;
C 6                                                   git clone http://aur.archlinux.org/$1.git
7                                           cd $1;
8                                           makepkg -s --noconfirm;
9                                           ln $1-*.pkg.tar.xz ../x86_64/;
10                                           cd ../x86_64;
11                                           rm Chizi123.db Chizi123.files;
12                                           repo-add ../Chizi123.db.tar.xz $1-*.pkg.tar.xz;
13                                           ln ../Chizi123.db.tar.xz Chizi123.db;
14                                           ln ../Chizi123.files.tar.xz Chizi123.files;
15                                           cd ../;
16                                           git add x86_64/;
17                                           git commit -m \"added $1\";
18                                           git push"
70bd3e 19 umount $CHDIR