This commit is contained in:
Daniel Langbein 2021-09-08 22:53:17 +02:00
parent 6600d5c1a1
commit 9ed434ffef
3 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,7 @@ See [build-pkg/pkglist-AUR.txt](build-pkg/pkglist-AUR.txt) for a full list.
They were added in the following manner:
```shell
AUR_PKG=amdgpu-pro-installer
AUR_PKG=plib
git submodule add "https://aur.archlinux.org/${AUR_PKG}.git" pkg/"${AUR_PKG}"
# echo " ${AUR_PKG}" >> build-pkg/pkglist-AUR.txt
```

View File

@ -9,10 +9,10 @@ FROM archlinux:base-devel
# 2. Enable parallel downloads
# TODO: Wait until next baseimage update
# && sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf \
# 3. Update mirrors + packages
# 3. Update mirrors + packages; install svn for makepkg to handle svn sources
RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /etc/pacman.conf && \
printf '\n[de-p1st]\nSigLevel = Optional TrustAll\nServer = https://arch.p1st.de\n' >> /etc/pacman.conf && \
pacman -Syu --noconfirm
pacman -Syu --noconfirm && pacman -S --needed --noconfirm svn
# 1. Set packager
# 2. Store built packages in /out/

View File

@ -9,6 +9,9 @@ function main(){
# Write-permission for user "build"
sudo chown "build:wheel" /out
# Refresh mirrors, e.g. to fetch packages that were built in the previous build stage
sudo pacman -Sy
PKG=/pkg/"${1}"
shift; # remove first arg
echo "Looking for PKGBUILD in ${PKG} ..."