void-packages/srcpkgs/pacman/template
2021-11-29 03:01:07 -03:00

26 lines
873 B
Bash

# Template file for 'pacman'
pkgname=pacman
version=6.0.1
revision=1
make_dirs="/var/lib/pacman 0755 root root
/usr/var/cache/pacman/pkg 0755 root root
/usr/share/libalpm/hooks 0755 root root"
conf_files="/etc/pacman.conf"
build_style=meson
hostmakedepends="curl gettext-devel pkg-config asciidoc"
makedepends="libarchive-devel gpgme-devel libcurl-devel"
depends="gnupg>=2"
checkdepends="fakeroot"
short_desc="Simple library-based package manager"
maintainer="oreo639 <oreo6391@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.archlinux.org/pacman/"
distfiles="https://sources.archlinux.org/other/pacman/pacman-${version}.tar.xz"
checksum=0db61456e56aa49e260e891c0b025be210319e62b15521f29d3e93b00d3bf731
make_check=ci-skip
if [ "$XBPS_TARGET_LIBC" = musl ]; then
make_check=no # fakechroot is not available
else
checkdepends="fakeroot fakechroot gnupg"
fi