app-misc/jdupes: fix badfilename

and other QA fixes, || die etc

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-08-24 21:21:28 +02:00
parent f4d0177347
commit c678bb27ab
2 changed files with 12 additions and 11 deletions

View File

@@ -1 +1 @@
DIST v1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff
DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

View File

@@ -5,26 +5,27 @@ EAPI=7
DESCRIPTION="Identify and manipulate duplicate files"
HOMEPAGE="https://www.jodybruchon.com/software/#jdupes"
SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz"
PATCHES=(
"${FILESDIR}/${P}-test.sh.patch")
SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
PATCHES=(
"${FILESDIR}/${P}-test.sh.patch"
)
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare(){
eapply "${FILESDIR}/${P}-test.sh.patch"
chmod +x test.sh
eapply_user
default
chmod +x test.sh || die
}
src_configure() {
sed -in 's/local//' Makefile
sed -in 's/local//' Makefile || die
}
src_compile() {
emake
}