diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-06-07 02:25:52 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-06-07 02:25:52 +0200 |
commit | 52e5da58489084e288ceb4ab0e5ca42e5cf69f15 (patch) | |
tree | e2945bef25ae445cdb97a6eaf447b54a6ce5720e /app-arch | |
parent | sys-firmware/intel-microcode: amd64 & x86 stable (diff) | |
download | gentoo-52e5da58489084e288ceb4ab0e5ca42e5cf69f15.tar.gz gentoo-52e5da58489084e288ceb4ab0e5ca42e5cf69f15.tar.bz2 gentoo-52e5da58489084e288ceb4ab0e5ca42e5cf69f15.zip |
app-arch/rar: Bump to v5.6.0 Beta 5 from 2018-06-04
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/rar/Manifest | 3 | ||||
-rw-r--r-- | app-arch/rar/rar-5.6.0_beta5_p20180604.ebuild | 109 |
2 files changed, 112 insertions, 0 deletions
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest index 73efe4968917..e7824e09eafe 100644 --- a/app-arch/rar/Manifest +++ b/app-arch/rar/Manifest @@ -1,6 +1,9 @@ DIST rarlinux-5.5.0_p20170811.tar.gz 546839 BLAKE2B d90bda3092fb636fee1db4f222632cf3d45c99f330298521b2a0957cd7bd4845f4518cf394e03a4e302d45cf73a37f5da5ac0cd7eba08a4859fd221697656c20 SHA512 c437d0be55ea90ae1dd9d657517d17d9edbba07cd77325785d8d503883847edeece2cc3993d3beec3a5b36b6830383b7026fbfc53b18f490288395994bc532cb DIST rarlinux-5.6.0_beta4_p20180513.tar.gz 551835 BLAKE2B cc6161b784d2191d4036e755a74b9706bbf021568926281380e75612310f8e6c3c31554809a4efb4e75dd2790b0a2eea2c467f76666a0c0dd7ec067225d57718 SHA512 36a80de1178b2409a46b81cb8c852931c9cb400dcc7c67c8322072947617a805f7bf721585200d1d22588c109d3109da478a6a9c9530aa7c23420c8960336f32 +DIST rarlinux-5.6.0_beta5_p20180604.tar.gz 552421 BLAKE2B 3c298e432a54efd61569a21fb4c430eac927846f95ed14bf7caa3b893e328ce175e1ba8a5908a0058380fea9a7cfd8b40c959ce87f3a831fcce717cbc3cd80b0 SHA512 9d2b4ed0b904e60ff744f3c5b0fbacb35fa879be8029f7aacecd0b1eb4499b9b7ed9fb0511fe756d90c46f7c288ceb348330f5d8d5f0843c9aae3bfdf76b472d DIST rarlinux-x64-5.5.0_p20170811.tar.gz 536028 BLAKE2B be453cab6720abc4b01f5aef6c5874b0ff328656f8452b2a671b1b5305427dbb0de2af4084e25e972c69fe4ca4072b10f21d66f7fee23a3e205b0b4f533c8b7f SHA512 1ca8cf7fbe526b43bdc9aeeccb6a0d86efd3bbaeee554e807d58ab62857294abc89662bb42b17b2cfe7e6739876c6345455cd027abbc4cb84312c58314278a66 DIST rarlinux-x64-5.6.0_beta4_p20180513.tar.gz 541066 BLAKE2B 7026b8650b85bd8df8b6a1fd7511305fbfceb21fa705e7bb81b0a7b60074464754a8d00cc6a6efc207ed4741547e11459b6a03e74bec9bdfcfa410f216fb753b SHA512 72a027d8cd7c05e1627772a91744883fe43968e9a0ceb627c2f16f7ac62a4e0a11e67a40247e064d16445b18bf1f666acac2111cb63ae3192ed9cbe71a552b85 +DIST rarlinux-x64-5.6.0_beta5_p20180604.tar.gz 541805 BLAKE2B 8296d17fbdd2216fd65787ae561d4a10443fb2d838faeea7a7fbe272787a5cec259581d71cab06cc59c3e147f7fb07e4e0839620c78313da74b7cbdec29afae1 SHA512 3869f9cdb7f458c26e2f54c76b4ddb6d9bc4bc1bc74b54481787a4de2656d033231257c1f9b6e010787fcd3a6dd39de6e162ceeaf890708d3c9d725f5b933609 DIST winrar-x64-5.5.0_p20170811.exe 2220872 BLAKE2B a37783f427440a5166021475f024ca6e281b4f0d39926e55c00588e51d371bdd1bd16bd04ed65c363f7aeef6d7e2b0ba796325f7f290e45cfd8c09048ae25489 SHA512 f2aa40bb875be7f88cd618b1f5e02cfe0c5fb584f4e27d06531aaee018e613a70be7b7d3e8b92448381dc83605db6bf044cbecc52f63b6045193fef07601be66 DIST winrar-x64-5.6.0_beta4_p20180513.exe 3184768 BLAKE2B cc1ed21de598ac696ecf14bceeb4bb3050d83042c226f8ccd1c5195fbb43bbbb8dea614ccffda23297bafccd767b9eb64a71b1449cb8449347134137e2f3a199 SHA512 a405ef876f5385f28fcbb6964d7fbb5efb4f35686e27fe67574dd36a3e043e492757c0bc274b8b419e0b519fba175c191c536e2b1fb9caac11843b893ea6f642 +DIST winrar-x64-5.6.0_beta5_p20180604.exe 3183568 BLAKE2B 39c9fa431acc093c416c9bd980d0555ea77bf5f0412fd5a988c941a667538e7d4c76049dfe1793e9106a8a07189075461b48a0a8e5c6b90ca2a83a4642e5d1fb SHA512 7ec9bd69e027a9d5510932cbd79898c67a1484f040c334760bc160f4bd275390439a5ec00a224fc472fd85014b2c6417e45a817c65cf03c774be83c7cdf99d17 diff --git a/app-arch/rar/rar-5.6.0_beta5_p20180604.ebuild b/app-arch/rar/rar-5.6.0_beta5_p20180604.ebuild new file mode 100644 index 000000000000..182140ef84a4 --- /dev/null +++ b/app-arch/rar/rar-5.6.0_beta5_p20180604.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="RAR compressor/uncompressor" +HOMEPAGE="http://www.rarsoft.com/" +URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz" +URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz" +URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe" +SRC_URI="x86? ( ${URI_x86} ) + amd64? ( ${URI_amd64} ) + all_sfx? ( + ${URI_x86} + ${URI_amd64} + ${URI_w64} + )" + +LICENSE="RAR BSD BSD-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="all_sfx" +RESTRICT="mirror bindist" + +DEPEND="all_sfx? ( app-arch/unrar )" +RDEPEND="sys-libs/glibc" + +S="${WORKDIR}/${PN}" + +QA_FLAGS_IGNORED="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/WinCon.SFX + opt/rar/WinCon64.SFX + opt/rar/Zip.SFX + opt/rar/Zip64.SFX + opt/rar/unrar + opt/rar/rar" +QA_PRESTRIPPED=${QA_FLAGS_IGNORED} + +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 + + rm -f "${S}"/license.txt + + 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 ./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 || die + + dodir /opt/bin + dosym ../rar/rar /opt/bin/rar || die + dosym ../rar/unrar /opt/bin/unrar || die + + insinto /opt/rar + if use all_sfx ; then + doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die + else + doins default.sfx || die + fi + doins rarfiles.lst || die + dodoc *.txt +} |