mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update build-pkg.sh
This commit is contained in:
parent
e007b1c6db
commit
4599580882
18
build-pkg.sh
18
build-pkg.sh
@ -10,17 +10,25 @@ function build-pkg() {
|
|||||||
echo "Package ${PKG} does not contain a PKGBUILD file - skipping it!"; return 0;
|
echo "Package ${PKG} does not contain a PKGBUILD file - skipping it!"; return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
cd "pkg/${PKG}" || exit
|
cd "pkg/${PKG}" || return $?
|
||||||
|
|
||||||
aur build -c || exit
|
|
||||||
# makepkg -Ccsr || exit
|
|
||||||
|
|
||||||
cd ../.. || exit
|
# build and copy to /home/custompkgs
|
||||||
|
aur build -c || return $?
|
||||||
|
|
||||||
|
## build
|
||||||
|
# makepkg -Ccsr || return $?
|
||||||
|
## copy to /home/custompkgs
|
||||||
|
# cp "${PKG}-"*.pkg.tar.zst /home/custompkgs/ || return $?
|
||||||
|
|
||||||
|
|
||||||
|
cd ../.. || return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function build-all() {
|
function build-all() {
|
||||||
for PKG in pkg/*; do
|
for PKG in pkg/*; do
|
||||||
build-pkg "$(basename "${PKG}")"
|
build-pkg "$(basename "${PKG}")" || return $?
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user