Remove unused app-portage/findcruft

This commit is contained in:
Sergey Popov 2021-01-12 15:50:27 +03:00
parent 1c4a58af00
commit 0019d7e393
2 changed files with 0 additions and 35 deletions

View File

@ -1,2 +0,0 @@
DIST findcruft-1.0.4.tar.bz2 16636 SHA256 6fde43f77b83f95dba65174de0505b2914f6fdabd583e039d1009902b21aeed7
DIST findcruft-config-20050807.tar.bz2 8125 SHA256 12577badc39daa00a34ba9935a0a07371d80376bc3025cf43a46e17f86823b01

View File

@ -1,33 +0,0 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DEPEND=""
DESCRIPTION="Yet another script to find obsolete files"
HOMEPAGE="http://forums.gentoo.org/viewtopic.php?t=254197"
IUSE=""
KEYWORDS="~x86 ~amd64"
LICENSE="GPL-2"
RESTRICT="mirror"
SLOT="0"
SRC_URI="http://user.cs.tu-berlin.de/~sean/${P}.tar.bz2 \
http://ifp.loeber1.de/findcruft-config-20050807.tar.bz2"
src_unpack() {
unpack ${A}
sed -i "s#/usr/local#/usr#" ${WORKDIR}/bin/findcruft || die
}
src_install() {
mkdir -p ${D}/usr/lib && mv ${WORKDIR}/findcruft ${D}/usr/lib || die
insinto /usr
dobin ${WORKDIR}/bin/findcruft
dodoc ${WORKDIR}/lib/findcruft/LICENSE
}
pkg_postinst() {
einfo "Please check the files findcruft reports as cruft carefully"
einfo "before deleting them! There may be false positives!"
}