sys-apps/pacman: add 6.0.2, drop 6.0.1, define and fix --localstatedir

This commit is contained in:
123485k 2023-10-25 15:02:40 +08:00 committed by 梁永祥
parent 77291bc555
commit 52156201dd
2 changed files with 8 additions and 2 deletions

View File

@ -1 +1 @@
DIST pacman-6.0.1.tar.xz 880036 BLAKE2B 907c39bb368beea037dcb4b32c56b04a86580123d23ddfe5a1d30ed53143a9b6204044d74040e5bcfe80061673d59597ad2e033525561d6b195a95a104203fa9 SHA512 d17b9aea9f8d51a5a02fc9faa8e36227c0edea73957cc8a8174a23a81ca42737ecfce630aa86008ab26daec584004b772cd2eb3527aeef9e098b445edaa21f6f
DIST pacman-6.0.2.tar.xz 880868 BLAKE2B 648f62307e413cb352ed92e92df1ace510c1fc5e9ddd254baeef071e89cb7dae1786a95d29c5f69e8b03b1a8cfe3cd65671588dc362c8d3b281c092393aad54c SHA512 9d76fb58c3a50e89a4b92b1f9e3bfdecca3f69e05022ea88fbd34f9df540c4fc688ad4f8b27e77eedb791aa682c27037abe65c789c6d9ee393bae5b620c3df13

View File

@ -33,7 +33,6 @@ DEPEND="
"
RDEPEND="
${DEPEND}
sys-apps/pacman-mirrorlist
"
BDEPEND="
app-text/asciidoc
@ -50,6 +49,8 @@ RESTRICT="test"
src_configure() {
local emesonargs=(
-Dbuildstatic=false
# fix #3299, see https://bugs.gentoo.org/878913; https://bugs.gentoo.org/878603
--localstatedir "${EPREFIX}/var"
# Help protect Gentoo users from shooting into their feet.
-Droot-dir="${EPREFIX}/var/chroot/archlinux"
# full doc with doxygen
@ -63,6 +64,11 @@ src_configure() {
meson_src_configure
}
src_install() {
meson_src_install
keepdir /var/lib/pacman
}
pkg_postinst() {
/usr/bin/pacman-key --init || die
/usr/bin/pacman-key --populate archlinux || die