summaryrefslogtreecommitdiff
path: root/pacman-mirrorlist/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-mirrorlist/PKGBUILD')
-rw-r--r--pacman-mirrorlist/PKGBUILD37
1 files changed, 0 insertions, 37 deletions
diff --git a/pacman-mirrorlist/PKGBUILD b/pacman-mirrorlist/PKGBUILD
deleted file mode 100644
index b82b93004..000000000
--- a/pacman-mirrorlist/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id$
-# Contributor: Dan McGee <dan@archlinux.org>
-# Maintainer: Erich Eckner <arch at eckner dot net>
-
-pkgname=pacman-mirrorlist
-pkgver=20180524
-pkgrel=1
-pkgdesc="Arch Linux mirror list for use by pacman"
-arch=('any')
-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/merged/core/os/$(uname -m)/${pkgname}-${pkgver}-${pkgrel%%.*}-any.pkg.tar.xz")
-sha512sums=('1c1066b9a741b7e9d7eb0b6f50653df87c2013962ed8ed20d0b3c6b84bef3132f9dc9cb842e56d24edc3338c2e5505834eb56b05ae43084fd1715311c559b107')
-
-build() {
- {
- while read s
- do
- echo "${s}"
- if [ -z "${s}" ]
- then
- echo 'Server = https://arch.eckner.net/merged/$repo/os/$arch'
- echo ''
- break
- fi
- done
- cat
- } \
- < etc/pacman.d/mirrorlist \
- > mirrorlist
-}
-
-package() {
- mkdir -p $pkgdir/etc/pacman.d
- install -m644 mirrorlist $pkgdir/etc/pacman.d/
-}