app-misc/rmtrash - 1.14 (touchfish-os)

Search

Package Information

Description:
trash-put made compatible to GNUs rm and rmdir
Homepage:
https://github.com/PhrozenByte/rmtrash
License:
GPL-3

Ebuild Details

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

EAPI=7

DESCRIPTION="trash-put made compatible to GNUs rm and rmdir"
HOMEPAGE="https://github.com/PhrozenByte/rmtrash"
SRC_URI="https://github.com/PhrozenByte/rmtrash/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RESTRICT="mirror"

DEPEND=""
RDEPEND="
	app-misc/trash-cli
	${DEPEND}"
BDEPEND=""

src_install() {
	insinto /usr/bin
	insopts -m755
	doins rmtrash
	doins rmdirtrash
}

pkg_postinst() {
	elog "It is suggested to add following code into ~/.bashrc:"
	elog "--------------------------------------------------------------------"
	elog "		alias rm='rmtrash'"
	elog "		alias rmdir='rmdirtrash'"
	elog "		alias sudo='sudo '"
	elog "--------------------------------------------------------------------"
	elog "see https://github.com/PhrozenByte/rmtrash for more information"
}

Dependencies

RDEPEND

	app-misc/trash-cli
	

Manifest for 1.14

Type File Size Source URLs
DIST rmtrash-1.14.tar.gz 24354 bytes https://github.com/PhrozenByte/rmtrash/archive/v1.14.tar.gz