This commit is contained in:
parent
35f9b684e0
commit
af77bb3dbb
1 changed files with 2 additions and 4 deletions
6
build.sh
6
build.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if grep -c 'git+' PKGBUILD ; then
|
if grep -c 'git+' PKGBUILD > /dev/null ; then
|
||||||
makepkg -s --nobuild --skippgpcheck --noconfirm
|
makepkg -s --nobuild --skippgpcheck --noconfirm
|
||||||
fi
|
fi
|
||||||
makepkg --printsrcinfo > .SRCINFO
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
|
@ -13,7 +13,7 @@ build() {
|
||||||
epoch=$epoch:
|
epoch=$epoch:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! compgen -G "/repo/$name-$epoch$ver-$rel-*.pkg.tar.zst" ; then
|
if ! compgen -G "/repo/$name-$epoch$ver-$rel-*.pkg.tar.zst" > /dev/null ; then
|
||||||
if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then
|
if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then
|
||||||
for pkg in *.pkg.tar.zst ; do
|
for pkg in *.pkg.tar.zst ; do
|
||||||
cp "$pkg" /repo/
|
cp "$pkg" /repo/
|
||||||
|
@ -24,14 +24,12 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for d in */ ; do
|
for d in */ ; do
|
||||||
echo "$d"
|
|
||||||
cd "$d" || continue
|
cd "$d" || continue
|
||||||
build
|
build
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
||||||
while read -r p; do
|
while read -r p; do
|
||||||
echo "$p"
|
|
||||||
git clone https://aur.archlinux.org/"$p".git || continue
|
git clone https://aur.archlinux.org/"$p".git || continue
|
||||||
cd "$p" || continue
|
cd "$p" || continue
|
||||||
build
|
build
|
||||||
|
|
Loading…
Add table
Reference in a new issue