# Contributor: Matt Smith # Maintainer: Natanael Copa pkgname=alpine-mirrors pkgver=3.4.0 pkgrel=1 pkgdesc="List of Alpine Linux Mirrors" url="http://alpinelinux.org/" arch="noarch" license="MIT" depends="" makedepends="" install="" subpackages="" source="mirrors.yaml" build() { cd "$srcdir" awk '$1 == "-" && $2 ~ /^http:/ {print $2}' 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="e329d536c0e260d965b1c3e767fc63ab mirrors.yaml" sha256sums="dbad8c7b2794c64f70e9fe53f76e9ab403b85211dbe4d857fd1acf42d65e7de3 mirrors.yaml" sha512sums="b9bc9d99de5675d94a1edfef3f32fa3bba3395a4c481fb25d0e6720bcd78d2a139c576d5e7e6b18ce47ab081f78c9f3f40671676ba23d70f34b55a2917581a38 mirrors.yaml"