app-misc/cdu - 0.1.1 (chymeric)

Search

Install

Install this version:

emerge -a =app-misc/cdu-0.1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/cdu-0.1.1

Or alternatively:

emerge --autounmask-write -a =app-misc/cdu-0.1.1

Package Information

Description:
Small script(s) to manipulate PDF files
Homepage:
https://github.com/TheChymera/cdu
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.1.1 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Small script(s) to manipulate PDF files"
HOMEPAGE="https://github.com/TheChymera/cdu"
SRC_URI="https://github.com/TheChymera/cdu/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

DEPEND="test? ( dev-util/bats )"
RDEPEND="
	app-text/ghostscript-gpl
"

src_install() {
	einstalldocs
	sed -i "0,/COMMANDS_DIR=/s|COMMANDS_DIR=.*|COMMANDS_DIR=\"${EPREFIX}/usr/libexec/cdu\"|" bin/cdu || die
	dobin bin/cdu
	exeinto /usr/libexec/cdu
	doexe bin/commands/*.sh
}

src_test() {
	bats -r test/* || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/cdu | euse -E <flag> -p app-misc/cdu | euse -D <flag> -p app-misc/cdu

Global/Standard Flags

Dependencies

DEPEND

test? ( dev-util/bats )

RDEPEND

	app-text/ghostscript-gpl

Manifest for 0.1.1

Type File Size Source URLs
DIST cdu-0.1.1.tar.gz 14418 bytes https://github.com/TheChymera/cdu/archive/0.1.1.tar.gz