aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/unrar/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/unrar/abuild')
-rw-r--r--repos/extra/unrar/abuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/repos/extra/unrar/abuild b/repos/extra/unrar/abuild
new file mode 100644
index 00000000..0a4136a7
--- /dev/null
+++ b/repos/extra/unrar/abuild
@@ -0,0 +1,11 @@
+name=unrar
+version=7.1.6
+release=1
+source="https://www.rarlab.com/rar/${name}src-$version.tar.gz"
+
+build() {
+ sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i makefile
+ export LDFLAGS="$LDFLAGS -pthread"
+ make -j1 STRIP=:
+ make install DESTDIR=$PKG/usr
+}