blob: 7d1560fcae3347a51a9a9de0648aa9bdb8acaa76 (
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.1
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="aae96eb266bef014d30858725a630e9b mirrors.yaml"
sha256sums="8edf83d2d314ef2afeb40f16fa3dfe93d42031ba037b208ef8395eec2836cc78 mirrors.yaml"
sha512sums="f15e8c6430e43827ad5297bed34e46b167f93f72d76a4530b34cce8f0d4de0ca5907b8c93b9bd0299353328f79e8f0b6ca658f6ef1500a31fb7aebde242a5c5c mirrors.yaml"
|