aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-mirrors/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-20 11:44:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-20 11:45:59 +0000
commit3d15b7935620b03329e9683fd831c79319132718 (patch)
tree4de6e404aaf0283ab29913c540bf0bae4dbd4029 /main/alpine-mirrors/APKBUILD
parent3cccca8795e5c355eb0f36aa734e18190bd9c5fc (diff)
downloadaports-3d15b7935620b03329e9683fd831c79319132718.tar.bz2
aports-3d15b7935620b03329e9683fd831c79319132718.tar.xz
main/alpine-mirrors: add another brazilian mirror
http://lists.alpinelinux.org/alpine-devel/5326.html also use awk to genetare MIRRORS.txt so we get rid of the lua-yaml dep.
Diffstat (limited to 'main/alpine-mirrors/APKBUILD')
-rw-r--r--main/alpine-mirrors/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/alpine-mirrors/APKBUILD b/main/alpine-mirrors/APKBUILD
index 85a035cc0a..bff1a901c3 100644
--- a/main/alpine-mirrors/APKBUILD
+++ b/main/alpine-mirrors/APKBUILD
@@ -1,21 +1,21 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-mirrors
-pkgver=3.3.1
+pkgver=3.4.0
pkgrel=0
pkgdesc="List of Alpine Linux Mirrors"
url="http://alpinelinux.org/"
arch="noarch"
-license="GPL"
+license="MIT"
depends=""
-makedepends="lua lua-yaml"
+makedepends=""
install=""
subpackages=""
-source="mirrors.yaml gen-txt.lua"
+source="mirrors.yaml"
build() {
cd "$srcdir"
- lua gen-txt.lua < mirrors.yaml > MIRRORS.txt
+ awk '$1 == "-" && $2 ~ /^http:/ {print $2}' mirrors.yaml > MIRRORS.txt
}
package() {
@@ -25,9 +25,6 @@ package() {
"$pkgdir"/usr/share/alpine-mirrors/MIRRORS.txt || return 1
}
-md5sums="b8425b15b3ea32de9b711f116bcc9df0 mirrors.yaml
-4a3bfe9df4343fb44759a5049fa4bfc6 gen-txt.lua"
-sha256sums="bc8f1fdaa93879c9e634c1c41f79ae08410d84da510f32b06b5b110f9d5921d5 mirrors.yaml
-87ede8d9104dcef9cbe3f53282a0bc5820bf44a1adcdfbf109e2d4b0385980be gen-txt.lua"
-sha512sums="4a8794da5c3e1e405aff11c68bdcd077f485d826fa59dfe548273cd1a27db4af8df85527b6d6d6e346a15bdcc5bc89038890de3ef46078a753416f51f12a0e9f mirrors.yaml
-91d51ad685d5cd02670b7f1575698fc3b3309cc52b3318ffcf252a64767b8087c85a10c3461a46272b542850bd7e33f504fbdb42ac2e1f001af837a2dd0179f7 gen-txt.lua"
+md5sums="70a97af70fed0442e49b0f55d9677ba0 mirrors.yaml"
+sha256sums="1c651cc820355e2da07b1daf8f459a72eef8230a8f9450b743a89984c5d04710 mirrors.yaml"
+sha512sums="623d7a2e53f63b806978e368607e1c68545bcf8bdc0638087a90ae8ea1605f1afc74009639082c6ddeaaaf2177bcfc4fb91768c82b09c4cab8a2657ffd4b0af7 mirrors.yaml"