pacman: update to 7.0.0.

This commit is contained in:
oreo639 2024-11-17 17:02:47 -08:00 committed by oreo639
parent b87a1d3a7c
commit 4509e3ccbb

View file

@ -1,26 +1,29 @@
# Template file for 'pacman' # Template file for 'pacman'
pkgname=pacman pkgname=pacman
version=6.0.2 version=7.0.0
revision=2 revision=1
make_dirs="/var/lib/pacman 0755 root root make_dirs="/var/lib/pacman 0755 root root
/usr/var/cache/pacman/pkg 0755 root root /usr/var/cache/pacman/pkg 0755 root root
/usr/share/libalpm/hooks 0755 root root" /usr/share/libalpm/hooks 0755 root root"
conf_files="/etc/pacman.conf" conf_files="/etc/pacman.conf"
build_style=meson build_style=meson
configure_args="-Dscriptlet-shell=/usr/bin/bash"
hostmakedepends="curl gettext-devel pkg-config asciidoc" hostmakedepends="curl gettext-devel pkg-config asciidoc"
makedepends="libarchive-devel gpgme-devel libcurl-devel" makedepends="libarchive-devel gpgme-devel libcurl-devel"
depends="gnupg>=2" depends="gnupg>=2 bash"
checkdepends="fakeroot" checkdepends="fakeroot"
short_desc="Simple library-based package manager" short_desc="Simple library-based package manager"
maintainer="oreo639 <oreo6391@gmail.com>" maintainer="oreo639 <oreo6391@gmail.com>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://www.archlinux.org/pacman/" homepage="https://www.archlinux.org/pacman/"
distfiles="https://sources.archlinux.org/other/pacman/pacman-${version}.tar.xz" distfiles="https://gitlab.archlinux.org/pacman/pacman/-/releases/v${version}/downloads/pacman-${version}.tar.xz"
checksum=7d8e3e8c5121aec0965df71f59bedf46052c6cf14f96365c4411ec3de0a4c1a5 checksum=61cbd445d1381b4b184bc7c4e2791f07a79f0f2807b7c600399d0d08e8cd28cf
make_check=ci-skip # Some tests fail when run in CI make_check=ci-skip # Some tests fail when run in CI
if [ "$XBPS_TARGET_LIBC" = musl ]; then if [ "$XBPS_TARGET_LIBC" = musl ]; then
make_check=no # fakechroot is not available make_check=no # fakechroot is not available
CPPFLAGS="-D__NR_landlock_create_ruleset=444 -D__NR_landlock_add_rule=445 \
-D__NR_landlock_restrict_self=446"
else else
checkdepends="fakeroot fakechroot gnupg perl" checkdepends="fakeroot fakechroot gnupg perl"
fi fi