commit | author | age
|
48a8a8
|
1 |
#!/bin/bash |
C |
2 |
|
d9fcf8
|
3 |
CHDIR=$(dirname "$(realpath $0)")/chroot |
JG |
4 |
RUSER=joelgrun |
|
5 |
RLOC=35.225.177.191 |
|
6 |
RPATH=/var/www/joelg.cf/html/ |
|
7 |
|
90f1f8
|
8 |
mount --bind $CHDIR $CHDIR |
12a276
|
9 |
$CHDIR/bin/arch-chroot $CHDIR su joel -c "cd /build/repo; |
b1ccd2
|
10 |
git clone https://aur.archlinux.org/$1.git |
12a276
|
11 |
cd $1; |
C |
12 |
makepkg -s --noconfirm; |
|
13 |
ln $1-*.pkg.tar.xz ../x86_64/; |
|
14 |
cd ../x86_64; |
d9fcf8
|
15 |
#rm Chizi123.db Chizi123.files; |
12a276
|
16 |
repo-add ../Chizi123.db.tar.xz $1-*.pkg.tar.xz; |
d9fcf8
|
17 |
#ln ../Chizi123.db.tar.xz Chizi123.db; |
JG |
18 |
#ln ../Chizi123.files.tar.xz Chizi123.files; |
12a276
|
19 |
cd ../; |
d9fcf8
|
20 |
rsync -aL --delete x86_64 $RUSER@$RLOC:$RPATH;" |
JG |
21 |
#git add x86_64/; |
|
22 |
#git commit -m \"added $1\"; |
|
23 |
#git push" |
70bd3e
|
24 |
umount $CHDIR |