1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
. ${BUILDFILE%/*}/common.sh pkgver=20161111.1 provides=(pacman-mirrorlist) conflicts=(pacman-mirrorlist) package() { preamble add-file etc/pacman.d/mirrorlist <<EOF Server = file:///srv/repo/main/$repo/os/$arch EOF postamble }