diff options
Diffstat (limited to 'app-arch/rar')
-rw-r--r-- | app-arch/rar/Manifest | 6 | ||||
-rw-r--r-- | app-arch/rar/rar-5.7.1_p20190427.ebuild | 12 | ||||
-rw-r--r-- | app-arch/rar/rar-5.8.0_p20191205.ebuild | 109 |
3 files changed, 120 insertions, 7 deletions
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest index cfa9a1c5432b..e5aa1fa9b20e 100644 --- a/app-arch/rar/Manifest +++ b/app-arch/rar/Manifest @@ -1,5 +1,9 @@ DIST rarlinux-5.7.1_p20190427.tar.gz 559019 BLAKE2B 34da59809bbd846ea8a4fc90daed48e18efacafecf4b254e5b40b549ea172f7a399e5dd038d84427430d35392b8c3713921496f46bb9d9ea2e603938cac543c5 SHA512 9819e31cbc016aafdbb6b127b3a9ce427ead65bb0ac685ca0ede5fe1e27626054c2f0e3188b22fb9e4235780bac67f5b514178137891ecd3688ccab58e97ed6b +DIST rarlinux-5.8.0_p20191205.tar.gz 564176 BLAKE2B 78251a10d995c47766d2d6f0b553aaf1230e3d47b0098a7f137d499d3e182bbebd3d1c35551032f5c88166c646037733f9be8833b05a1aef136918cf2b29b556 SHA512 0b8d2347a4b14e26285dd99add5fdf9c2f1a9d9e1bf7524e7b31052d9aac6337e592da02ed5dc4dc9ab9020587bf89de865b53a5632ac76097c9410ec7cf916a DIST rarlinux-x64-5.7.1_p20190427.tar.gz 546592 BLAKE2B 7ca3fcda8d4cba2595c82f6b14845427228904a0ba19e1cad6b812de3941b34f24a575e426198ff49db029f50420f68d693640a6e9fc71f01ccd78478a7e5b4a SHA512 818307bcfb6ed5879c505d085a0430a4b3d07aa2fa9c1f3e04964832e363ac6d2116511aa0cda20cb0d499358a819d1ed03b7db01ff68749da2764fa3487da4b +DIST rarlinux-x64-5.8.0_p20191205.tar.gz 551942 BLAKE2B 57fb02ee14571e508515b107adbce2055998cfc05c1c0b5d297fdb021c418c59c9e9cf594cdaa919c205193c7f4454af59d68c98559f85e3e8c3b00e7fec1c0b SHA512 625138adc3c9fb0ceca54c72ee53a0c260e9c9ca53df5c192386884474482dab34477b0efeba760366fd31c5c59cdb2baf6516977b5c61927606bbde146ee350 DIST winrar-x64-5.7.1_p20190427.exe 3145336 BLAKE2B 2f0a70c789d0d3cb97513c712c8179952841752dea7fe0af68bae518cbf74c51ccb9c8d1fb02f56d1f5a43823b53609a3c3bbc42ca6833923988af851874bd84 SHA512 d23d47b66770af4e13a04265d9e4a46d5e62b93361d45b2ad6720b89d638a3e4d59eced1fd8f86d7711708a4158cd5487cf2509c2feb3e32cee368ab113afe91 -EBUILD rar-5.7.1_p20190427.ebuild 2274 BLAKE2B 5e31f7f6facc378c08aeb73459ca7ec2c5159849a8c7aecc93d0fcf042ac79e685d48f0667ac0584cc78b49c50b4c2a08f0e5fdcdf7ed35c12bd85bccc26960a SHA512 cf018d79b31479a649e25279d89c13daa24b00fe9202806bde8ee20f4e076e68fcccc74f9c8ba5c488b594e8c9dc11223571a28f3888946a096c65ffcd525909 +DIST winrar-x64-5.8.0_p20191205.exe 3214504 BLAKE2B 41b23a157c0af9d024bbf404c134bad5d026d5668eb18c7bc21b9627b5b82ea2dcfd81cbbcae8a7150a5f3cf1b7982477e23eeed3640dc0dbf29ccb190176a6a SHA512 7b55ab2daaa9a11e32b9d7ff3df1c76de6786d415a8d3650cfae9b5cd27003b53b67336c8916ed138ccb996797392f9dbd2f49aeea9ba5cef04f6331a82c0e0b +EBUILD rar-5.7.1_p20190427.ebuild 2232 BLAKE2B 6a64615a5e321272e4517c42268f4503b0756e0c8cee81e9b16123c542e568fb8ee5504c66d14059d209c2f3fb1806867146e0405ff603ce2970f61f5452c177 SHA512 2ef3262db0c9f9d862f2da94fb72a0e513e5f04bf74f51656aecb08b5e786ccdc9abd04d15ff555fe41e5d01cc7b01ef920b58254a52a097b8f5001fba58c29f +EBUILD rar-5.8.0_p20191205.ebuild 2234 BLAKE2B e7c50034b0cb906be278cdddad45bd171110cbff63b08341f750c09515d7f0f37869b19f66923883841f4271712633057886e1ba1e1e07198a942d939502828a SHA512 435cdfba3707a6d4518172e36226792e88a27439ffc83fa41595659bf60ea8c185a190c6a56e6fc692cd3df691f371a82b8ab99eba064679beceabd15ef80df2 MISC metadata.xml 436 BLAKE2B 772b97d33730af0ec24c126f46634735b661470d99fe1c2fc90d36653d0143014cf45f84686f3621b3b276c70b859f6551ffe764089d0fb646f99cd04b7d0def SHA512 9748890b95ef59d0fc815cc71757c10e77914ea73d254770a8669d8b766d95c65a90eb941a360b361d4e0c28f1abde6ba15a84a77609820aea7eaa25d2e913a1 diff --git a/app-arch/rar/rar-5.7.1_p20190427.ebuild b/app-arch/rar/rar-5.7.1_p20190427.ebuild index 4e7e71caf696..e7514ff5be78 100644 --- a/app-arch/rar/rar-5.7.1_p20190427.ebuild +++ b/app-arch/rar/rar-5.7.1_p20190427.ebuild @@ -92,18 +92,18 @@ src_compile() { :; } src_install() { exeinto /opt/rar - doexe rar unrar || die + doexe rar unrar dodir /opt/bin - dosym ../rar/rar /opt/bin/rar || die - dosym ../rar/unrar /opt/bin/unrar || die + dosym ../rar/rar /opt/bin/rar + dosym ../rar/unrar /opt/bin/unrar insinto /opt/rar if use all_sfx ; then - doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die + doins "${WORKDIR}"/sfx/*.{sfx,SFX} else - doins default.sfx || die + doins default.sfx fi - doins rarfiles.lst || die + doins rarfiles.lst dodoc *.txt } diff --git a/app-arch/rar/rar-5.8.0_p20191205.ebuild b/app-arch/rar/rar-5.8.0_p20191205.ebuild new file mode 100644 index 000000000000..2c97cb3f6b5b --- /dev/null +++ b/app-arch/rar/rar-5.8.0_p20191205.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="RAR compressor/uncompressor" +HOMEPAGE="https://rarlab.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 + + dodir /opt/bin + dosym ../rar/rar /opt/bin/rar + dosym ../rar/unrar /opt/bin/unrar + + insinto /opt/rar + if use all_sfx ; then + doins "${WORKDIR}"/sfx/*.{sfx,SFX} + else + doins default.sfx + fi + doins rarfiles.lst + dodoc *.txt +} |