holgersson-overlay/sys-apps/pacman-mirrorlist/pacman-mirrorlist-20221204.ebuild
Nils Freydank f0caab9fb7
sys-apps/pacman-mirrorlist: Fix HOMEPAGE entries
The tool pkgdev complained with RedirectedUrl.

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2022-12-31 16:17:59 +01:00

30 lines
734 B
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
COMMIT_ID="50498e5daf725f61c2142fe1f6559074aae22037"
DESCRIPTION="Repository list for Archlinux's binary package manager"
HOMEPAGE="https://archlinux.org/mirrorlist/ https://archlinux.org/packages/core/any/pacman-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
}