blob: 69e69eaaf46c161bd6d52b606c4bfffd85109fac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-mirrors
pkgver=3.4.3
pkgrel=0
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="00b8edc32a36dedf6073e0b951a56558 mirrors.yaml"
sha256sums="45832c9016324cf16dbdcd245f1879dd2f5d70f34fac22d4e209eea9929bc98b mirrors.yaml"
sha512sums="8c07125a627d9e1a44694b88e7aefb79d1a8796277871e55f68e0cbf9390072b51968c9918e592d8f9fedbbb816e8047faece81adb4924d89f8ff394658a02a3 mirrors.yaml"
|