blob: 601f870bb9f87823380a585d5bd700d3b57e6bae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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)
}
|