summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ebuild-writing/functions/src_unpack/other-archive-formats/text.rst')
-rw-r--r--ebuild-writing/functions/src_unpack/other-archive-formats/text.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/ebuild-writing/functions/src_unpack/other-archive-formats/text.rst b/ebuild-writing/functions/src_unpack/other-archive-formats/text.rst
new file mode 100644
index 0000000..b30d968
--- /dev/null
+++ b/ebuild-writing/functions/src_unpack/other-archive-formats/text.rst
@@ -0,0 +1,28 @@
+Other Archive Formats
+=====================
+
+There are a variety of other archive formats which you may encounter.
+
+Zip Files
+---------
+
+If a package is supplied as a ``.zip`` file, you should:
+
+* ``DEPEND`` upon ``app-arch/unzip``
+* Use ``unpack`` as normal
+
+Shar Files
+----------
+
+If a package is supplied as a ``.shar`` file, you should repackage it locally
+into a ``.tar.bz2``. It may also be useful to ask upstream to use a friendlier
+package format -- however, if they ship ``.shar``, chances are they haven't done
+a release in at least ten years.
+
+RAR Files
+---------
+
+``.rar`` files must be repackaged locally into a ``.tar.bz2`` file.
+
+.. vim: set ft=glep tw=80 sw=4 et spell spelllang=en : ..
+