summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/unrar/.footprint8
-rw-r--r--extra/unrar/.md5sum1
-rwxr-xr-xextra/unrar/Pkgfile19
3 files changed, 28 insertions, 0 deletions
diff --git a/extra/unrar/.footprint b/extra/unrar/.footprint
new file mode 100644
index 000000000..c6c9d992f
--- /dev/null
+++ b/extra/unrar/.footprint
@@ -0,0 +1,8 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/unrar
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/unrar-3.9.2/
+-rw-r--r-- root/root usr/share/doc/unrar-3.9.2/license.txt
+-rw-r--r-- root/root usr/share/doc/unrar-3.9.2/readme.txt
diff --git a/extra/unrar/.md5sum b/extra/unrar/.md5sum
new file mode 100644
index 000000000..29b20cdca
--- /dev/null
+++ b/extra/unrar/.md5sum
@@ -0,0 +1 @@
+a7443772592d567c5395d060a3dcc3e6 unrarsrc-3.9.2.tar.gz
diff --git a/extra/unrar/Pkgfile b/extra/unrar/Pkgfile
new file mode 100755
index 000000000..035c1c057
--- /dev/null
+++ b/extra/unrar/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Extracteur et visualisateur de fichiers RAR
+# URL: http://www.rarlab.com/
+# Maintainer: NuTyX core team
+# Packager: sibel at free dot fr
+# Depends on: gcc
+
+name=unrar
+version=3.9.2
+release=1
+
+source=(http://www.rarlab.com/rar/unrarsrc-$version.tar.gz)
+
+build() {
+ cd $name
+ make -f makefile.unix
+ mkdir -p $PKG/usr/{bin,share/doc/$name-$version}
+ install -m 755 unrar $PKG/usr/bin/
+ install -m 644 {license.txt,readme.txt} $PKG/usr/share/doc/$name-$version
+}