app-crypt/pkcrack: add missing dies

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola 2024-03-16 11:21:03 +02:00
parent 89a8a03507
commit 97a9222f13
No known key found for this signature in database
GPG Key ID: 7383942B8DC06962

View File

@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="PkZip cipher breaker"
@ -34,18 +35,18 @@ PATCHES=(
)
src_compile() {
cd src
cd src || die
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
}
src_test() {
cd test
cd test || die
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
}
src_install() {
einstalldocs
cd src
cd src || die
dobin pkcrack zipdecrypt findkey makekey
newbin extract "${PN}-extract"
}