summaryrefslogtreecommitdiff
path: root/user/unrar
diff options
context:
space:
mode:
Diffstat (limited to 'user/unrar')
-rw-r--r--user/unrar/APKBUILD33
-rw-r--r--user/unrar/makefile.patch27
2 files changed, 0 insertions, 60 deletions
diff --git a/user/unrar/APKBUILD b/user/unrar/APKBUILD
deleted file mode 100644
index f50447699..000000000
--- a/user/unrar/APKBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Dan Theisen <djt@hxx.in>
-pkgname=unrar
-pkgver=5.6.8
-pkgrel=0
-pkgdesc="The RAR uncompression program"
-url="https://www.rarlab.com"
-arch="all"
-options="!check" # No test suite.
-license="custom:UnRAR"
-depends=""
-makedepends=""
-subpackages="$pkgname-doc"
-source="https://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz
- makefile.patch"
-builddir="$srcdir"/$pkgname
-
-build() {
- cd "$builddir"
- make CXX="${CXX:-g++}" CXXFLAGS="$CXXFLAGS" \
- LDFLAGS="$LDFLAGS" STRIP=: -f makefile
-}
-
-package() {
- cd "$builddir"
- install -Dm755 unrar "$pkgdir"/usr/bin/unrar
- install -Dm644 license.txt \
- "$pkgdir/usr/share/licenses/$pkgname/license.txt"
-}
-
-sha512sums="5410308d7f462824bc10087cdc4515c58aaad776cc09eb6491864a338ae00ff35e3b54d1e7250c0a9576554ea382383155be718a0b95d7af00f27d5df04f4f56 unrarsrc-5.6.8.tar.gz
-7da30d8454a67999e7052ed2c0ee8d29627b1d47bfdf36e8cf1e24f3c36ee58b17f7e7a6505a4b38e0ca3162067368a1bf554829fd824f7c17a3a2a5b35ca29c makefile.patch"
diff --git a/user/unrar/makefile.patch b/user/unrar/makefile.patch
deleted file mode 100644
index 1892dab24..000000000
--- a/user/unrar/makefile.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -upr unrar.orig/makefile unrar/makefile
---- unrar.orig/makefile 2017-06-30 21:34:46.228703991 +0200
-+++ unrar/makefile 2017-06-30 21:35:07.535424717 +0200
-@@ -3,12 +3,12 @@
-
- # Linux using GCC
- CXX=c++
--CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
-+CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
- LIBFLAGS=-fPIC
- DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
- STRIP=strip
- AR=ar
--LDFLAGS=-pthread
-+LDFLAGS+=-pthread
- DESTDIR=/usr
-
- # Linux using LCC
-@@ -140,7 +140,7 @@ uninstall: uninstall-unrar
- clean:
- @rm -f *.o *.bak *~
-
--unrar: clean $(OBJECTS) $(UNRAR_OBJ)
-+unrar: $(OBJECTS) $(UNRAR_OBJ)
- @rm -f unrar
- $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
- $(STRIP) unrar