summaryrefslogtreecommitdiff
path: root/opt/unrar
diff options
context:
space:
mode:
Diffstat (limited to 'opt/unrar')
-rw-r--r--opt/unrar/.footprint3
-rw-r--r--opt/unrar/.signature6
-rw-r--r--opt/unrar/MAKEPKG35
3 files changed, 44 insertions, 0 deletions
diff --git a/opt/unrar/.footprint b/opt/unrar/.footprint
new file mode 100644
index 0000000..dc460e5
--- /dev/null
+++ b/opt/unrar/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/unrar
diff --git a/opt/unrar/.signature b/opt/unrar/.signature
new file mode 100644
index 0000000..2915837
--- /dev/null
+++ b/opt/unrar/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mPxH96iwUL+EEZn6NevawJHBn6FE9Nli3h/7yu1Q1idl3jcyP98GxfVS0jLABXKQ+BI3i9Fg2A98BRGL1uVTtAs=
+
+SHA256 (MAKEPKG) = c6318124c28fcb00a06cf4275214eefa49bad2359af7e5eecc3927512119654f
+SHA256 (.footprint) = d74185592e6529cf0090c3626f6fb89245c2afdb36aea39882a058f85d4153ea
+SHA256 (unrarsrc-7.3.1.tar.gz) = 634900842a3737d9cc15bbcc71d4c74cc713437e0bca296a573424fe5f2660ab
+SHA256 (unrar#7.3.1-1.pkg.tar.gz) = a4a39733a57659849e26113d3b5fc4c49abc9e680e05a3ce8812d40500609ecb
diff --git a/opt/unrar/MAKEPKG b/opt/unrar/MAKEPKG
new file mode 100644
index 0000000..1d0e636
--- /dev/null
+++ b/opt/unrar/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: RAR uncompression program
+# url: https://www.rarlab.com/rar_add.htm
+
+name=unrar
+version=7.3.1
+release=1
+
+source=(https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz)
+
+sha256sums=(
+ "634900842a3737d9cc15bbcc71d4c74cc713437e0bca296a573424fe5f2660ab"
+)
+
+build() {
+ cd unrar
+
+ make -j${JOBS:-1} \
+ CXX=clang++ \
+ CXXFLAGS="-O2 -std=c++17 -stdlib=libc++ -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else" \
+ LDFLAGS="-pthread -stdlib=libc++" \
+ DEFINES="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP" \
+ STRIP=: \
+ unrar
+
+ make DESTDIR=$PKG/usr install-unrar
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh
+