commit | author | age
|
41117a
|
1 |
#!/bin/bash |
C |
2 |
|
|
3 |
CHDIR=$(dirname "$(realpath $0)")/chroot |
|
4 |
mount --bind $CHDIR $CHDIR |
|
5 |
$CHDIR/bin/arch-chroot $CHDIR su joel -c "cd /build/repo/dependencies; |
b1ccd2
|
6 |
git clone https://aur.archlinux.org/$1.git |
41117a
|
7 |
cd $1; |
C |
8 |
makepkg -si --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" |
|
19 |
umount $CHDIR |