summaryrefslogtreecommitdiff
path: root/config-pacman-mirrorlist-repomirror.PKGBUILD
blob: fa658bd075da28b4aba4ded59cb7b80c86527b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
. ${BUILDFILE%/*}/common.sh
pkgver=20160713.3

provides=(pacman-mirrorlist)
conflicts=(pacman-mirrorlist)

package() {
cd "$pkgdir"

add-file etc/pacman.d/mirrorlist <<EOF
Server = https://repomirror.parabola.nu/\$repo/os/\$arch
EOF

backup=($(find "$pkgdir" -type f -printf '%P\n'))
}