summaryrefslogtreecommitdiff
path: root/user/unrar/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 21:05:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 21:07:09 -0500
commitc408bffa8a9be717b71b339bb8f203abebb25c2f (patch)
treefbdf1c6f25a5e329331e9edcb0e84d238e8f4d30 /user/unrar/APKBUILD
parent6f0730e489e426e2f731c42cb0bdc74eb7e13c68 (diff)
downloadpackages-c408bffa8a9be717b71b339bb8f203abebb25c2f.tar.gz
packages-c408bffa8a9be717b71b339bb8f203abebb25c2f.tar.bz2
packages-c408bffa8a9be717b71b339bb8f203abebb25c2f.tar.xz
packages-c408bffa8a9be717b71b339bb8f203abebb25c2f.zip
user/unrar: pull in, assign to djt@, bump to 5.6.4, fix
Diffstat (limited to 'user/unrar/APKBUILD')
-rw-r--r--user/unrar/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/unrar/APKBUILD b/user/unrar/APKBUILD
new file mode 100644
index 000000000..187000474
--- /dev/null
+++ b/user/unrar/APKBUILD
@@ -0,0 +1,33 @@
+# 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.4
+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="0ff55a82f8593c59c9773ffa7dec00386b762c504a08497bc1a50de5502c52e1c1d1043cb8ba353291aa61a3ebc9f5f0a21d313d89639f400e5fc45f01d62cca unrarsrc-5.6.4.tar.gz
+7da30d8454a67999e7052ed2c0ee8d29627b1d47bfdf36e8cf1e24f3c36ee58b17f7e7a6505a4b38e0ca3162067368a1bf554829fd824f7c17a3a2a5b35ca29c makefile.patch"