# Contributor: Matt Smith # Maintainer: Natanael Copa pkgname=alpine-mirrors pkgver=3.1.7 pkgrel=0 pkgdesc="List of Alpine Linux Mirrors" url="http://alpinelinux.org/" arch="noarch" license="GPL" depends="" makedepends="lua lua-yaml" install="" subpackages="" source="mirrors.yaml gen-txt.lua" build() { cd "$srcdir" lua gen-txt.lua < mirrors.yaml > MIRRORS.txt } package() { install -D -m644 "$srcdir"/mirrors.yaml \ "$pkgdir"/usr/share/alpine-mirrors/mirrors.yaml || return 1 install -D -m644 "$srcdir"/MIRRORS.txt \ "$pkgdir"/usr/share/alpine-mirrors/MIRRORS.txt || return 1 } md5sums="1594bb94b54260f8a2f66cfdbc3207c1 mirrors.yaml 4a3bfe9df4343fb44759a5049fa4bfc6 gen-txt.lua" sha256sums="27ba51fb4da41587ca5aadfc86aa3d76803dba867c362ce05d5ccf7c0121a778 mirrors.yaml 87ede8d9104dcef9cbe3f53282a0bc5820bf44a1adcdfbf109e2d4b0385980be gen-txt.lua" sha512sums="38e5dff104985095d2db831c91a7ecf1fed6153161b7cf7b94c7dc20ebbd171bbe4ad6ae693a169b815cfb0405743ed7420cc25a7776f08774e655faaf83a933 mirrors.yaml 91d51ad685d5cd02670b7f1575698fc3b3309cc52b3318ffcf252a64767b8087c85a10c3461a46272b542850bd7e33f504fbdb42ac2e1f001af837a2dd0179f7 gen-txt.lua"