You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Arch, packages outside official repositories are usually distributed with AUR. All AUR requires is a PKGBUILD file providing instructions to download, build and create the Arch package locally.
The PKGBUILD I created to let other arch users build and create a package for fclones on their machines (the link to this PKGBUILD can be found on the fclones-git AUR page I posted above).
You can build the package wherever Docker runs, with the following Dockerfile:
FROM archlinux:latest
# UpdateRUN pacman --noconfirm -qSyu
RUN pacman --noconfirm -qS \
base-devel \
git
# Add and login as user makepkg, w/passwordless sudoRUN useradd -G wheel -m makepkg
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
USER makepkg
WORKDIR /home/makepkg
# Uncomment the following lines to build fclones-git from a PKGBUILD file in the# current working directory on the Docker hostCOPY PKGBUILD /home/makepkg
RUN makepkg -si --noconfirm
# Uncomment the following lines to build fclones-git from the PKGBUILD that can# be downloaded from AUR# RUN git clone https://aur.archlinux.org/fclones-git.git \# && cd fclones-git \# && makepkg -si --noconfirm
I just created an AUR package for Archlinux. You can find it here: https://aur.archlinux.org/packages/fclones-git/
It might be worth adding its name and a link to it in the README file.
The text was updated successfully, but these errors were encountered: