summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-02-21 00:21:59 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-02-21 00:21:59 +0100
commit25c3b24d667d0ecd0d5b413c40094db0ad7b3f45 (patch)
tree91cded19b1d0e2a7fe697505f0e677ea2195f961 /app-arch/rar
parentdev-python/fsspec: Stabilize 2023.1.0 ALLARCHES, #895598 (diff)
downloadgentoo-25c3b24d667d0ecd0d5b413c40094db0ad7b3f45.tar.gz
gentoo-25c3b24d667d0ecd0d5b413c40094db0ad7b3f45.tar.bz2
gentoo-25c3b24d667d0ecd0d5b413c40094db0ad7b3f45.zip
app-arch/rar: add 6.21
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-arch/rar')
-rw-r--r--app-arch/rar/Manifest3
-rw-r--r--app-arch/rar/rar-6.21.ebuild120
2 files changed, 123 insertions, 0 deletions
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest
index 93a029466aa3..c7185cfa4f0b 100644
--- a/app-arch/rar/Manifest
+++ b/app-arch/rar/Manifest
@@ -1,6 +1,9 @@
DIST rarlinux-x32-612.tar.gz 616982 BLAKE2B 3ceaf625a77d6bb5543de8c2d118e6a5d679ffcdf295b4476725794277ba01c6b74179daefa2bbe1da7b3c0d29a2d368c1325b099d87955c355cc61461f893ff SHA512 8f67a365145d6fe7c9db1458a67f29a6b878f1969842f0cb43f639af1f8c304b0f4174f83b070f7d821316fdd9dcd2e1788bca2d6af5ef60fdb951924ebc71a4
DIST rarlinux-x32-620.tar.gz 627693 BLAKE2B 2d5e3f8aa8971dccc35511d6b5523a8bd55c6382d59e14a4079fd8cc40d9af2b80ec26129a81ea89c36f9145f3753b5c0468938224708e99ea5ffbcc7d4cc9a8 SHA512 e84571752e92f940249e6db95fcfc9f686351546935d07388b85c74da8df862ecf4d935c68eee0f99c62430c37d855f63708ab874ab87ed7e68a77e81e14b30e
+DIST rarlinux-x32-621.tar.gz 627883 BLAKE2B 07957401eea5efad7295a4da31f56bdb5ea64935b193f594f8cd5755aca9b4ffded9a2df834216c604a65b1fb7c0ab99c59591afb7f54dc65c6d74ff0b37cc0a SHA512 3e83806ccc40edfdc0740ca416cac2480e475fad72be4e245d500272f817c35f4c1ed05f7a40918f463b182d52454a3c02bf469298d56b973977fbda2d261b60
DIST rarlinux-x64-612.tar.gz 604520 BLAKE2B ad85a2a5d1b66677707491279166fa42c6f9b2b1e96f9dc8001da5e9199e50762a106991ecb27c0c4eaa72904490eebc43f21236a952da40acf866b1ce40ecd2 SHA512 bccb64b077fa044a920f02a826bafd4a07c446f2ff2ce88b7c8f27d49c6ac48108711880ad43aac89c034f582979cad8b332d675ea483eca9f76bcd892949423
DIST rarlinux-x64-620.tar.gz 614188 BLAKE2B fa25e528afc51cbc7a6648d557e845af5818902a32f93859c16c65f180f3ec2e88f45854519f3847f22e4049b676cfd75871a075cb2c107e180563d76f7fd45e SHA512 f9cd780c77241bbe75711d82b7180178c2f647a062b31401e65dd5be7a98ab4ed48577b9b471e8636cb32c62b3c4cfab798e9687ba191819e1b674747ce59574
+DIST rarlinux-x64-621.tar.gz 614402 BLAKE2B 8ab72e52aee82942a5917f6742fdb135e6be9187609e3a857103b8758385f85cde1e95bc2c13e87e20d6b39b1e5bb77da7f917b2ff8a01e6baece9b462dd9135 SHA512 3f990213b2366e1c829ec24f9cdb957a29de45f2d12b9a35de54709443f977aab495d5bfd13ab2b46d77b83283635c827b614a7c33585925ca4fd4d9405e1c90
DIST winrar-x64-611.exe 3479544 BLAKE2B 84f2bf342a92b142731615d13280e36686dbd4f44d8a1c550fa6a03f2267e6ec0f8e963107b3baa5640072b399e58fe8865754b382def2183a391ca204a07333 SHA512 46c001b48be1503e1aa9f7b9540adfa210caa672ee766b3634697e23faa0b8ac140cc392adf13f1b5244ca61572c5dac2085b4a00a492774649602e4fdb6a46d
DIST winrar-x64-620.exe 3582512 BLAKE2B bf9d835f1bcc0f368db0fb6b296d796a8ef49a86b4ffa879006c8790f6993aecbbba65c848a9c6dc959c722c9088ce497fc893faab94a1bc3cd43b68ef2dc213 SHA512 e53cbb99339784cda4e3ef1dd27128216264e90ffce4a5c96ad0b4c2065bcf3c5f55e2de502d91113bc20d1e96cd7a1bbf9386316fe0d0ca76a1596f86c9914a
+DIST winrar-x64-621.exe 3585248 BLAKE2B b65643c87d422db0094ac54f855c34345f4d07780e5b91a0ee203e87ffd3e10091ef2338a269a3f01c40cc4324b4b3f2254614e42535681d896b627db918b8e8 SHA512 42f4bcbff08f08dd45097b9ac07444bb3e157d6e9055c307de3f1cf86b62900e9cdf5931cee305e0bb0991a6f5ef060196cc42a29b8fc7d233032036a42b1494
diff --git a/app-arch/rar/rar-6.21.ebuild b/app-arch/rar/rar-6.21.ebuild
new file mode 100644
index 000000000000..cb2c7ce9afaa
--- /dev/null
+++ b/app-arch/rar/rar-6.21.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV/./}"
+URI_AMD64="https://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz"
+URI_X86="https://www.rarlab.com/rar/rarlinux-x32-${MY_PV}.tar.gz"
+URI_WIN64="https://www.rarlab.com/rar/winrar-x64-${MY_PV}.exe"
+
+inherit unpacker
+
+DESCRIPTION="RAR compressor/uncompressor"
+HOMEPAGE="https://www.rarlab.com/"
+SRC_URI="
+ all-sfx? (
+ ${URI_AMD64}
+ ${URI_X86}
+ ${URI_WIN64}
+ )
+ amd64? ( ${URI_AMD64} )
+ x86? ( ${URI_X86} )
+"
+S="${WORKDIR}/${PN}"
+
+LICENSE="BSD BSD-2 RAR"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="all-sfx"
+RESTRICT="bindist mirror"
+
+RDEPEND="sys-libs/glibc"
+BDEPEND="all-sfx? ( app-arch/unrar )"
+
+DOCS=( "acknow.txt" "rar.txt" "readme.txt" "whatsnew.txt" )
+
+QA_PREBUILT="
+ opt/rar/default.sfx
+ opt/rar/default-elf32.sfx
+ opt/rar/default-elf64.sfx
+ opt/rar/default-win32.sfx
+ opt/rar/default-win64.sfx
+ opt/rar/unrar
+ opt/rar/rar
+ opt/rar/WinCon.SFX
+ opt/rar/WinCon64.SFX
+ opt/rar/Zip.SFX
+ opt/rar/Zip64.SFX
+"
+
+src_unpack() {
+ local _file
+
+ for _file in ${A}; do
+ if [[ "${_file}" == rarli* ]]; then
+ if [[ "${_file}" =~ x64 ]]; then
+ if ! use amd64; then
+ continue
+ fi
+
+ unpack "${_file}"
+ elif [[ ! "${_file}" =~ x64 ]]; then
+ if ! use x86; then
+ continue
+ fi
+
+ unpack "${_file}"
+ else
+ die "Unknown SRC file '${_file}'!"
+ fi
+ fi
+ done
+
+ if use all-sfx ; then
+ mkdir sfx
+ cd sfx
+ for _file in ${A}; do
+ if [[ "${_file}" == rarli* ]]; then
+ unpack "${_file}"
+ if [[ "${_file}" =~ x64 ]]; then
+ mv rar/default.sfx default-elf64.sfx || die
+ else
+ mv rar/default.sfx default-elf32.sfx || die
+ fi
+ elif [[ "${_file}" == winrar* ]]; then
+ ln -s "${DISTDIR}"/${_file} w64.rar || die
+ unpack_rar ./w64.rar
+ mv Default.SFX default-win32.sfx || die
+ mv Default64.SFX default-win64.sfx || die
+ else
+ die "Unknown SFX file '${_file}'!"
+ fi
+ done
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ exeinto /opt/rar
+ doexe rar unrar
+
+ insinto /opt/rar
+ doins rarfiles.lst
+
+ if use all-sfx; then
+ doins "${WORKDIR}"/sfx/*.{sfx,SFX}
+ else
+ doins default.sfx
+ fi
+
+ dodir /opt/bin
+ dosym ../rar/rar /opt/bin/rar
+ dosym ../rar/unrar /opt/bin/unrar
+
+ docinto html
+ dodoc order.htm
+
+ einstalldocs
+}