You've already forked aur_builder
Compare commits
2 Commits
2e7e85b81c
...
3d67fe8d6e
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d67fe8d6e | |||
| 1e047e2ba2 |
@@ -10,5 +10,7 @@ done
|
||||
|
||||
# Enables all extra features supported by host CPU
|
||||
|
||||
if [ "${SKIP_NATIVE-n}" = n ]; then
|
||||
CFLAGS="$CFLAGS -march=native -mtune=native"
|
||||
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
|
||||
fi
|
||||
|
||||
9
run.sh
9
run.sh
@@ -7,7 +7,7 @@ if [[ ! -f /w/PKGBUILD ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appendig works
|
||||
# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appending works
|
||||
# podman sets up 169.254.1.2 to be the ip of the host
|
||||
sudo sh -c 'echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts'
|
||||
sudo sh -c 'echo "100.64.0.2 gitea.balki.me" >> /etc/hosts'
|
||||
@@ -19,8 +19,7 @@ cp -r /w .
|
||||
cd ./w
|
||||
|
||||
if [ "${DEBUG_SHELL-n}" = y ]; then
|
||||
echo "Stopping before build... Run 'exit 1' to skip building"
|
||||
tail -12 "$0"
|
||||
echo "$0 : Stopping before build... Run 'exit 1' to skip building"
|
||||
bash
|
||||
fi
|
||||
|
||||
@@ -34,9 +33,9 @@ fi
|
||||
|
||||
LOGDEST=../output PKGDEST=../output makepkg --syncdeps --log
|
||||
|
||||
sudo cp -r ../output /w
|
||||
|
||||
if [ "${DEBUG_SHELL-n}" = y ]; then
|
||||
echo "Build complete"
|
||||
bash
|
||||
fi
|
||||
|
||||
sudo cp -r ../output /w
|
||||
|
||||
Reference in New Issue
Block a user