sys-apps/pacman: Remove the old pacman version as no-one complained
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
parent
b9c80dce0c
commit
7c1d998c59
@ -1,2 +1 @@
|
|||||||
DIST pacman-5.2.2.tar.gz 3333766 BLAKE2B 14896b3911f851f66b93443fe29eca9ffe21a73698ce7844a7924450c0399ce71d038843d8a4acedb029d5444cd1b409776d482edff5e58928e248068acb68dd SHA512 1f9c569fb9cfe90afeeb7e3715bfa821ec4c57fdbbd7e09cd1e2519fad1a555b2f5378dedb2c2e551d2e92db92f1db9684969b472507f676c5bb932cdf436eda
|
|
||||||
DIST pacman-6.0.0.tar.xz 860624 BLAKE2B 79443cbee5df7b367267c70da04d570455a42d9cfa2e623333fd30e640d3cd9f01da382134efcd1c84202331499fd134b23dde8788a89f6949f0eb40e0e7a38b SHA512 78fc5b70a2fc356746f8a4580ce7fd01b25b3463db1b9b008f02a97e22c236fdb1d09985769caf6ac675d9b1091ba0f71afa38ec5759cf7911f1b1a33586f563
|
DIST pacman-6.0.0.tar.xz 860624 BLAKE2B 79443cbee5df7b367267c70da04d570455a42d9cfa2e623333fd30e640d3cd9f01da382134efcd1c84202331499fd134b23dde8788a89f6949f0eb40e0e7a38b SHA512 78fc5b70a2fc356746f8a4580ce7fd01b25b3463db1b9b008f02a97e22c236fdb1d09985769caf6ac675d9b1091ba0f71afa38ec5759cf7911f1b1a33586f563
|
||||||
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="Archlinux's binary package manager"
|
|
||||||
HOMEPAGE="https://archlinux.org/pacman/ https://wiki.archlinux.org/title/Pacman"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://git.archlinux.org/pacman.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://sources.archlinux.org/other/pacman/${P}.tar.gz"
|
|
||||||
# Do *not* re-add ~x86!
|
|
||||||
# https://www.archlinux.org/news/phasing-out-i686-support/
|
|
||||||
KEYWORDS="-* ~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0/10"
|
|
||||||
|
|
||||||
IUSE="curl debug doc +gpg test"
|
|
||||||
DEPEND="
|
|
||||||
app-crypt/archlinux-keyring
|
|
||||||
app-arch/libarchive:=[lzma]
|
|
||||||
gpg? ( >=app-crypt/gpgme-1.13.0:= )
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
virtual/libiconv
|
|
||||||
virtual/libintl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
sys-apps/pacman-mirrorlist
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
app-text/asciidoc
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
test? (
|
|
||||||
sys-apps/fakeroot
|
|
||||||
sys-apps/fakechroot
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# Plenty tests fail because we're actually not on a archlinux system.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Remove a line that adds "-Werror" in ./configure when
|
|
||||||
# "--enable-debug" is passed:
|
|
||||||
sed -i -e '/-Werror/d' configure.ac || die
|
|
||||||
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-static
|
|
||||||
--localstatedir=/var
|
|
||||||
--disable-git-version
|
|
||||||
# Help protect users from shooting their
|
|
||||||
# Gentoo installation in its foot.
|
|
||||||
--with-root-dir="${EPREFIX}/var/chroot/archlinux"
|
|
||||||
$(use_enable debug)
|
|
||||||
# full doc with doxygen
|
|
||||||
$(use_enable doc doxygen)
|
|
||||||
$(use_with curl libcurl)
|
|
||||||
$(use_with gpg gpgme)
|
|
||||||
)
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /etc/pacman.d/
|
|
||||||
|
|
||||||
# see bug #631754
|
|
||||||
dodir /var/chroot/archlinux
|
|
||||||
keepdir /var/chroot/archlinux /var/lib/pacman
|
|
||||||
|
|
||||||
default
|
|
||||||
find "${D}" -name '*.la' -delete || die "Couldn't remove straying .la files"
|
|
||||||
|
|
||||||
# Avoid creating stuff inside /var/cache/,
|
|
||||||
# see bug #633742 for more information.
|
|
||||||
rm -r "${D}/var/cache/pacman"
|
|
||||||
rmdir "${D}/var/cache"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
|
|
||||||
/usr/bin/pacman-key --init || die
|
|
||||||
/usr/bin/pacman-key --populate archlinux || die
|
|
||||||
|
|
||||||
einfo
|
|
||||||
einfo "The default root dir was set to ${EPREFIX}/var/chroot/archlinux"
|
|
||||||
einfo "to avoid breaking Gentoo systems due to oscitancy."
|
|
||||||
einfo "If you prefer another directory, take a look at"
|
|
||||||
einfo "pacman's parameter -r|--root."
|
|
||||||
einfo
|
|
||||||
einfo "You will need to setup at least one mirror in"
|
|
||||||
einfo " /etc/pacman.d/mirrorlist."
|
|
||||||
einfo "This list is installed by sys-apps/pacman-mirrorlist but can be"
|
|
||||||
einfo "updated manually by fetching from"
|
|
||||||
einfo "https://wiki.archlinux.org/index.php/Mirror"
|
|
||||||
einfo
|
|
||||||
einfo "With pacman 5.1 contrib packages were moved into a seprate package."
|
|
||||||
einfo
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user