2021-08-19 21:25:26 +02:00
|
|
|
# Copyright 2020-2021 Gentoo Authors
|
2020-10-18 12:15:28 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-08-19 21:25:26 +02:00
|
|
|
EAPI="8"
|
2020-10-18 12:15:28 +02:00
|
|
|
|
2021-12-19 21:13:44 +01:00
|
|
|
COMMIT_ID="f4bd9c7d0942efa2dfd66dccf1e27c05d61f9a9b"
|
2020-10-18 12:15:28 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Repository list for Archlinux's binary package manager"
|
2021-05-16 00:00:18 +02:00
|
|
|
HOMEPAGE="https://archlinux.org/mirrorlist/"
|
2020-10-18 12:15:28 +02:00
|
|
|
SRC_URI="https://raw.githubusercontent.com/archlinux/svntogit-packages/${COMMIT_ID}/trunk/mirrorlist -> ${P}"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT=0
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
cp "${DISTDIR}/${P}" mirrorlist
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto etc/pacman.d
|
|
|
|
doins mirrorlist
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
einfo
|
|
|
|
einfo "This packages installs only a plain list of mirrors for sys-apps/pacman."
|
|
|
|
einfo
|
|
|
|
}
|