summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-11-10 10:26:03 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-11-10 10:26:31 +0100
commit4804fe46c6344a67bc304b30767715ecf77fd736 (patch)
treef19fbfeacecfadb574aab78900ec3e47c1d05075 /dev-java/lzma
parentdev-java/lzma: add 22.01 (diff)
downloadgentoo-4804fe46c6344a67bc304b30767715ecf77fd736.tar.gz
gentoo-4804fe46c6344a67bc304b30767715ecf77fd736.tar.bz2
gentoo-4804fe46c6344a67bc304b30767715ecf77fd736.zip
dev-java/lzma: use 'unpacker' eclass
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/lzma')
-rw-r--r--dev-java/lzma/lzma-22.01.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-java/lzma/lzma-22.01.ebuild b/dev-java/lzma/lzma-22.01.ebuild
index def9de791338..fcb02d0d2be1 100644
--- a/dev-java/lzma/lzma-22.01.ebuild
+++ b/dev-java/lzma/lzma-22.01.ebuild
@@ -4,7 +4,7 @@
EAPI=8
JAVA_PKG_IUSE="doc source"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple unpacker
DESCRIPTION="Java code for LZMA compression and decompression"
HOMEPAGE="https://7-zip.org/"
@@ -16,12 +16,8 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND=">=virtual/jre-1.8:*"
DEPEND=">=virtual/jdk-1.8:*"
-BDEPEND="app-arch/p7zip"
+BDEPEND="$(unpacker_src_uri_depends)"
S="${WORKDIR}/Java"
JAVA_SRC_DIR="SevenZip"
-
-src_unpack() {
- 7z x "${DISTDIR}/lzma-${PV}.7z" || "unpack failed"
-}