summaryrefslogtreecommitdiff
path: root/app-arch/rar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-06 03:21:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-06 03:21:28 +0100
commit681aad60df032a891dbbfc38f3ea4b404d6a8579 (patch)
treeda5eff2b4d9c8cca5f6df280543b43707f372f69 /app-arch/rar
parent2092ebe8b45cc45ad3357e2ccb2c37d5c1eaba2a (diff)
gentoo auto-resync : 06:08:2023 - 03:21:27
Diffstat (limited to 'app-arch/rar')
-rw-r--r--app-arch/rar/Manifest4
-rw-r--r--app-arch/rar/rar-6.23.ebuild120
2 files changed, 124 insertions, 0 deletions
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest
index d6a84dc5ac62..d7216da1d03d 100644
--- a/app-arch/rar/Manifest
+++ b/app-arch/rar/Manifest
@@ -1,9 +1,13 @@
DIST rarlinux-x32-621.tar.gz 627883 BLAKE2B 07957401eea5efad7295a4da31f56bdb5ea64935b193f594f8cd5755aca9b4ffded9a2df834216c604a65b1fb7c0ab99c59591afb7f54dc65c6d74ff0b37cc0a SHA512 3e83806ccc40edfdc0740ca416cac2480e475fad72be4e245d500272f817c35f4c1ed05f7a40918f463b182d52454a3c02bf469298d56b973977fbda2d261b60
DIST rarlinux-x32-622.tar.gz 627428 BLAKE2B eeb78f7dac2777347d54d203645ca9861c89d4e9bf47e1afc369eadde789d837b9537bc602cf6bb9262b188f70ecbe236463f15e12ef986d5b542d6ccb1a3294 SHA512 0d0f2e374185afc6541aa54f059d4d21a4bc6eaddc8ca42fa054866db1ddfbf7022ecaf35dc3677198ad57e4d84f17e3dd02f501b6bc48ea0eb54ce9d5168c05
+DIST rarlinux-x32-623.tar.gz 627653 BLAKE2B fc7475374adaf4e53367c70f4b95aaa4e05e6b78aeece97f79f266bc73ed7fc00ad05eb0b4d91bc62b8b5373ff6c17a91536f5b6a670942e4a514e5a483e1ded SHA512 95d7319be5cbe8544a93cabfa457ac723b204c3a0799a2fa6408a21bdd75ad3b49e2c030242b6c0473c05c4079eba113158b525400e3612bda56d8fbc4af6c3a
DIST rarlinux-x64-621.tar.gz 614402 BLAKE2B 8ab72e52aee82942a5917f6742fdb135e6be9187609e3a857103b8758385f85cde1e95bc2c13e87e20d6b39b1e5bb77da7f917b2ff8a01e6baece9b462dd9135 SHA512 3f990213b2366e1c829ec24f9cdb957a29de45f2d12b9a35de54709443f977aab495d5bfd13ab2b46d77b83283635c827b614a7c33585925ca4fd4d9405e1c90
DIST rarlinux-x64-622.tar.gz 614091 BLAKE2B d158052f80dc300f7a5c189d14bf8fa484a857e459c7c117fe9da4e7fc86f5a41b9176742038f11b8564ea78b1cf137eb12dfddb0df1c44bd08c0d4cf8de3296 SHA512 a38a930c6861aca0f1c7ce28f4174f464b537f4bacaca52b065c5cf31d3c331421c481d522785471874e000df441d8ea810d36f7ecc8be9dc849c73683af47d9
+DIST rarlinux-x64-623.tar.gz 614350 BLAKE2B a9ce80c6ab920e1c74d9b5fa4af2a2e0e46b638a4aced4cb6e88068518c1c3d702f20b44d9ce7c7c5601096254f01d6992c2d4a97a16554f8cfc67ca3600ce2f SHA512 0aa3e9c6b08e12343b1637929a3ce807196205ecfc5f6c98c464f8d8f40c544ec594a3be514a02d0e3a86c0a5d5e68208c993ab9d94d847249547fbb713fcfe2
DIST winrar-x64-621.exe 3585248 BLAKE2B b65643c87d422db0094ac54f855c34345f4d07780e5b91a0ee203e87ffd3e10091ef2338a269a3f01c40cc4324b4b3f2254614e42535681d896b627db918b8e8 SHA512 42f4bcbff08f08dd45097b9ac07444bb3e157d6e9055c307de3f1cf86b62900e9cdf5931cee305e0bb0991a6f5ef060196cc42a29b8fc7d233032036a42b1494
DIST winrar-x64-622.exe 3594776 BLAKE2B f3c9e90e9a84951cb57522436e153b1d0c8c4f4e13a66126937ad68a5d773ee55b394c020f7fddfbebee8cc1b24721566e2a1cc5fcf0724108dbe5a5446d0a84 SHA512 f73a6b37f96db444c8099c8f41c444bc216ce57c26b1401d3be44531ed28aa2e59802b71c6191992602ef21fe7a6e20414af87d6d3ba0071acc89b9167a1718f
+DIST winrar-x64-623.exe 3595296 BLAKE2B 8ff54390827070ecd1f42f53d5010e150bd4ccf38dd9bb85a9ee0e3fffa3c489e72e79be0bdecb90d995f19f924bee643f3c1c433d4d932a9c90589f29491887 SHA512 5ba4cb71d9579b01e54835f9559ab39fddbff5f3bc262e0c9f67ea450d490122326d46ae8f8a55b503f96ba1e5963f31ca3ff477ff485bab0fc3e5eac793d8dd
EBUILD rar-6.21.ebuild 2289 BLAKE2B 2a4ed068245b6907f8d2023318942ea1e0890cb1fb266d8fee61ebac35a436af747a428a26307b5d0135099a0ea5601a96f9531da63244b9e88a4d99923fb2dd SHA512 22661c82c6df0cdff56dcb3186b946a7b9f738bd6e6056363ff6da8ed4f151b7a54ad6d0991b80b2ccad06c2fd664fd538bf440b39151a1cd9fd0501917aaa4f
EBUILD rar-6.22.ebuild 2289 BLAKE2B 2a4ed068245b6907f8d2023318942ea1e0890cb1fb266d8fee61ebac35a436af747a428a26307b5d0135099a0ea5601a96f9531da63244b9e88a4d99923fb2dd SHA512 22661c82c6df0cdff56dcb3186b946a7b9f738bd6e6056363ff6da8ed4f151b7a54ad6d0991b80b2ccad06c2fd664fd538bf440b39151a1cd9fd0501917aaa4f
+EBUILD rar-6.23.ebuild 2291 BLAKE2B 6894ac9518b0fd85197a2bab67a054b3a839216ab37d6b6bcbae43f3d7258378b16c00d33b9d6dc607df9a098a140c344c1ca0ea68265a82fe5927140bff46a8 SHA512 2062f218641661d914cd796fa53226e589c1f8e5bee1c139bea71f65b0d1984680f71202a021a61caaa4c03e6ff4f5bc1657e683d12d41b9190e20c8819d44a4
MISC metadata.xml 436 BLAKE2B 89434fe285ad2b7be02c6e0014bb0a8fd54772e899345cb1c6de1da1e7cf5396d490af746bad1af6449183a4970c70415178765d918488f047174e64c289ceee SHA512 c9d65d30420f8febc660ad83169a8ae95c11ffcc673ca0cbc16530367e441ff72636fdbe3948065270547cb043ab0e1114dd573e4bd8716089bd01f056a63ff6
diff --git a/app-arch/rar/rar-6.23.ebuild b/app-arch/rar/rar-6.23.ebuild
new file mode 100644
index 000000000000..cb2c7ce9afaa
--- /dev/null
+++ b/app-arch/rar/rar-6.23.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
+}