media-video/bilibili: add 1.16.2_p2, drop 1.16.2_p1
[gentoo-zh.git] / dev-util / pacstrap / pacstrap-29.ebuild
blob764b4587eff9746a328f029ff083afda6fbe4289
1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit shell-completion
8 DESCRIPTION="Pacstrap - install packages to the specified new root directorye"
9 HOMEPAGE="https://github.com/archlinux/arch-install-scripts https://man.archlinux.org/man/pacstrap.8"
10 SRC_URI="https://gitlab.archlinux.org/archlinux/arch-install-scripts/-/archive/v${PV}/arch-install-scripts-v${PV}.tar.bz2"
12 S="${WORKDIR}/arch-install-scripts-v${PV}"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE="test"
18 RESTRICT="!test? ( test )"
20 BDEPEND="
21 app-alternatives/awk
22 app-text/asciidoc
24 DEPEND="sys-apps/pacman"
26 src_test() {
27 emake MANS="doc/pacstrap.8" BINPROGS="pacstrap" check
30 src_compile() {
31 emake MANS="doc/pacstrap.8" BINPROGS="pacstrap"
34 src_install() {
35 dobin pacstrap
36 doman doc/pacstrap.8
37 newbashcomp completion/bash/pacstrap pacstrap
38 newzshcomp completion/zsh/_pacstrap _pacstrap