#!/usr/bin/env bash # This script builds the package with Docker. This way, you don't have to # install the `makedepends` nor the `checkdepends`. Run from current directory. docker run --rm \ --dns ${DNS:-8.8.8.8} \ --env BUILD_USER_GID=$(id -u) \ --env BUILD_USER_UID=$(id -u) \ --env ROOTLESS=${ROOTLESS:-no} \ --volume $(pwd):/mnt/project \ implementing/builder:latest makepkg # The pkgver will be updated; so we restore it. git checkout PKGBUILD