summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-03 08:30:42 +0200
committerErich Eckner <git@eckner.net>2016-05-03 08:59:16 +0200
commit0d8014bdccce94a33baaefbb08dbda4ae0718cd4 (patch)
treee874bc9045f9fdf09230e2399c838b655062d801
parent179abe408c130b0aa614e8ac2646d5f6558cb6ae (diff)
downloadarchlinuxewe-0d8014bdccce94a33baaefbb08dbda4ae0718cd4.tar.xz
pacman-mirrorlist 20160424 -> 20160502
-rw-r--r--pacman-mirrorlist/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/pacman-mirrorlist/PKGBUILD b/pacman-mirrorlist/PKGBUILD
index 496466b07..53a8c61b0 100644
--- a/pacman-mirrorlist/PKGBUILD
+++ b/pacman-mirrorlist/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=pacman-mirrorlist
-pkgver=20160424
+pkgver=20160502
pkgrel=1
pkgdesc="Arch Linux mirror list for use by pacman"
arch=('any')
@@ -11,10 +11,9 @@ url="https://www.archlinux.org/mirrorlist/"
license=('GPL')
backup=(etc/pacman.d/mirrorlist)
source=("${pkgname}-${pkgver}-${pkgrel}-any-original.tar.xz::https://arch.eckner.net/core/os/$(uname -m)/${pkgname}-${pkgver}-${pkgrel}-any.pkg.tar.xz")
+sha512sums=('a11340a6228c5b3189ffdb3900c2e0aaf5506ddae042d8ea8a25d58b7fa59d3bd38ec3a205ad029aac3f6bc457b7b00049ba4e5f3ca738f74ee5042a5d504062')
-package() {
- mkdir -p $pkgdir/etc/pacman.d
- tar -xJf ${pkgname}-${pkgver}-${pkgrel}-any-original.tar.xz
+build() {
cat etc/pacman.d/mirrorlist | \
(
while read s
@@ -30,7 +29,9 @@ package() {
cat
) \
> mirrorlist
- install -m644 mirrorlist $pkgdir/etc/pacman.d/
}
-sha512sums=('95fee39449eb4d952bf5cb20c58f1a064dcab5c9da0fef14a2add764d0bf6bc0603908582f91d57d740be7621c584b267b6848b3fea1cf4d7a83e52880f17df2')
+package() {
+ mkdir -p $pkgdir/etc/pacman.d
+ install -m644 mirrorlist $pkgdir/etc/pacman.d/
+}