# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools DESCRIPTION="Contributed scripts for sys-apps/pacman" HOMEPAGE="https://archlinux.org/pacman/" if [[ ${PV} == 9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://gitlab.archlinux.org/pacman/pacman-contrib.git" else SRC_URI="https://gitlab.archlinux.org/pacman/pacman-contrib/-/archive/v${PV}/pacman-contrib-v${PV}.tar.bz2" KEYWORDS="~amd64" S="${WORKDIR}/pacman-contrib-v${PV}" fi LICENSE="GPL-2" SLOT="0" IUSE="debug" RDEPEND="sys-apps/pacman" DEPEND=" ${RDEPEND} app-text/asciidoc " src_prepare() { default eautoreconf } src_configure() { econf \ --localstatedir=/var \ --enable-doc \ $(use_enable debug) }