<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — Packaged version of Unar is not working with some RAR archives]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=680&amp;type=atom" />
	<updated>2022-05-18T22:53:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=680</id>
		<entry>
			<title type="html"><![CDATA[Re: Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4535#p4535" />
			<content type="html"><![CDATA[<p>Here is the commit for the update: <a href="https://git.hyperbola.info:50100/~team/packages/extra.git/commit/?h=throgh&amp;id=b684ee68fd66c5a9760f718df02111a684932dfb">https://git.hyperbola.info:50100/~team/ … a684932dfb</a></p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-05-18T22:53:42Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4535#p4535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4527#p4527" />
			<content type="html"><![CDATA[<p>Correct, sorry had only included the PKGBUILD.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-05-17T11:17:16Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4527#p4527</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4526#p4526" />
			<content type="html"><![CDATA[<p>Where is native_obj_exceptions.patch (it has different sha512sum from the version in Hyperbola&#039;s repos)?</p><p>Silly me it&#039;s the one from Arch&#039;s repos <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[aloniv]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=387</uri>
			</author>
			<updated>2022-05-17T11:10:54Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4526#p4526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4525#p4525" />
			<content type="html"><![CDATA[<p>I have reworked the answer. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /> Here is the corrected PKGBUILD:</p><div class="codebox"><pre><code># Maintainer (Arch): Anatol Pomozov &lt;anatol.pomozov@gmail.com&gt;
# Contributor (Arch): Cedric Girard &lt;girard.cedric@gmail.com&gt;
# Contributor (Arch): N30N &lt;archlinux@alunamation.com&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;
# Contributor: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=unar
pkgver=1.10.7
_UniversalDetector_pkgver=1.1
pkgrel=1
pkgdesc=&quot;An Objective-C application for uncompressing archive files&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://github.com/MacPaw/XADMaster&#039;
license=(&#039;LGPL-2.1&#039;)
depends=(&#039;gnustep-base&#039; &#039;libressl&#039; &#039;bzip2&#039; &#039;icu&#039; &#039;gcc-libs&#039; &#039;zlib&#039; &#039;wavpack&#039;)
makedepends=(&#039;gnustep-make&#039; &#039;gcc-objc&#039;)
replaces=(&#039;unarchiver&#039; &#039;unrar&#039;)
conflicts=(&#039;unarchiver&#039; &#039;unrar&#039;)
provides=(&#039;unarchiver&#039; &#039;unrar&#039;)
source=(&quot;XADMaster-${pkgver}.tar.gz::https://github.com/MacPaw/XADMaster/archive/v${pkgver}.tar.gz&quot;
        &quot;UniversalDetector-${_UniversalDetector_pkgver}.tar.gz::https://github.com/MacPaw/universal-detector/archive/${_UniversalDetector_pkgver}.tar.gz&quot;
        &quot;native_obj_exceptions.patch&quot;)
sha512sums=(&#039;3447b6d8f3f4fa5eea93c6628a1633017da6ff09c580d5ce4fd422027b3b79acbf38d6e41a059806d1e60eb25a9d66889938b32599168dc2c0ca648e1c1976b1&#039;
            &#039;e514670b3d37b2472ed3e9cb0fdc3298a8479772264b7573411f104be554222bec2e01f73e1f35db95620fe785bee2dcf9ddc9c2b1f4ff6b522fa64d14d020f5&#039;
            &#039;0501698400c7529467c5c5988aec66b0af6995274df91b312d21f2a651a7ea081efa255c53467cb95cf225ae8c3374ddad978cb447c39b221333a7aa9326b2a2&#039;)

prepare() {
  # The project requires UniversalDetector next to the source dir. See the project&#039;s README for more info about the build requirements.
  ln -s universal-detector-${_UniversalDetector_pkgver} UniversalDetector

  cd &quot;$srcdir/XADMaster-${pkgver}&quot;
  patch &lt; $srcdir/native_obj_exceptions.patch
}

build() {
  cd &quot;$srcdir/XADMaster-${pkgver}&quot;

  . /usr/share/GNUstep/Makefiles/GNUstep.sh
  make -f Makefile.linux
}

package() {
  cd &quot;$srcdir/XADMaster-${pkgver}&quot;

  install -d &quot;$pkgdir/usr/bin/&quot;
  install -m755 unar lsar &quot;$pkgdir/usr/bin/&quot;
  install -Dm644 &quot;$srcdir/XADMaster-${pkgver}/LICENSE&quot; -t &quot;$pkgdir/usr/share/licenses/$pkgname&quot;

  install -d &quot;$pkgdir/usr/share/man/man1&quot;
  install -m644 Extra/{lsar.1,unar.1} &quot;$pkgdir/usr/share/man/man1/&quot;
  install -d &quot;$pkgdir/usr/share/bash-completion/completions/&quot;
  install -m644 Extra/unar.bash_completion &quot;$pkgdir/usr/share/bash-completion/completions/unar&quot;
  install -m644 Extra/lsar.bash_completion &quot;$pkgdir/usr/share/bash-completion/completions/lsar&quot;
}</code></pre></div><p>Hope this helps better?<br />Will be an update than.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-05-17T10:56:51Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4525#p4525</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4524#p4524" />
			<content type="html"><![CDATA[<p>Is that a general statement or one relating to this specific PKGBUILD?</p>]]></content>
			<author>
				<name><![CDATA[aloniv]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=387</uri>
			</author>
			<updated>2022-05-17T10:53:27Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4524#p4524</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4522#p4522" />
			<content type="html"><![CDATA[<p>The Arch-package is <strong>NOT</strong> following the FSDG-guidelines and therefore it would be better to rework or update the version. Please don&#039;t recommend those packages as solution. They are none.</p><p>The problem a bit more clear described: The Arch-package is not following the naming-scheme for the licenses.</p><div class="quotebox"><blockquote><p>license=(&#039;LGPL2.1&#039;)</p></blockquote></div><p>Correct would be therefore:</p><div class="quotebox"><blockquote><p>license=(&#039;LGPL-2.1&#039;)</p></blockquote></div><p>And as system-distribution being an operating-system you have also to include the license-file for every package and software. The Arch-package is missing this point as many others. We can for sure update our version here with parts of the build-script and get a newer version. Nevertheless: Better be careful as Debian for example has a clear copyright-file for every package, for reasoning.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-05-17T10:25:06Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4522#p4522</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Packaged version of Unar is not working with some RAR archives]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4521#p4521" />
			<content type="html"><![CDATA[<p>When I tried to extract a non-working RAR archive I received this error.</p><p>Failed! (Attempted to read more data than was available)</p><p>The solution in this case is simply to update to the latest version of unar (using the Arch PKGBUILD of unarchiver).</p>]]></content>
			<author>
				<name><![CDATA[aloniv]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=387</uri>
			</author>
			<updated>2022-05-17T06:57:03Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4521#p4521</id>
		</entry>
</feed>
