2020-10-18 12:15:28 +02:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="7"
|
|
|
|
|
2020-12-08 17:10:10 +01:00
|
|
|
COMMIT_ID="a0929bf95d15d31a836bac410fed6491b32469cd"
|
2020-10-18 12:15:28 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Repository list for Archlinux's binary package manager"
|
|
|
|
HOMEPAGE="https://www.archlinux.org/mirrorlist/"
|
|
|
|
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
|
|
|
|
}
|