aboutsummaryrefslogtreecommitdiffstats
path: root/main/unrar
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 10:45:54 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 10:45:54 +0200
commit22ba2167153ad211e7a4f7d136700331e1c5b66c (patch)
treefc2cd2d27de5abd6b381d48be2165f26ad66f421 /main/unrar
parent0407c8ea881278a0aec22913cd52b3973f89245d (diff)
downloadaports-22ba2167153ad211e7a4f7d136700331e1c5b66c.tar.bz2
aports-22ba2167153ad211e7a4f7d136700331e1c5b66c.tar.xz
main/unrar: upgrade to 5.4.5
Diffstat (limited to 'main/unrar')
-rw-r--r--main/unrar/APKBUILD24
1 files changed, 7 insertions, 17 deletions
diff --git a/main/unrar/APKBUILD b/main/unrar/APKBUILD
index ae9c0a7322..8cfc4a9b73 100644
--- a/main/unrar/APKBUILD
+++ b/main/unrar/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unrar
-pkgver=5.4.2
+pkgver=5.4.5
pkgrel=0
pkgdesc="The RAR uncompression program"
url="http://www.rarlab.com"
@@ -14,33 +14,23 @@ subpackages="$pkgname-doc"
source="http://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz
makefile.patch"
-_builddir="$srcdir"/$pkgname
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+builddir="$srcdir"/$pkgname
build() {
- cd "$_builddir"
+ cd "$builddir"
make CXX="${CXX:-g++}" CXXFLAGS="$CXXFLAGS" \
LDFLAGS="$LDFLAGS" STRIP=: -f makefile || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -Dm755 unrar "$pkgdir"/usr/bin/unrar || return 1
install -Dm644 license.txt \
"$pkgdir/usr/share/licenses/$pkgname/license.txt" || return 1
}
-md5sums="fb77bcbeac6953f563230634d74a87d7 unrarsrc-5.4.2.tar.gz
+md5sums="588b3fadc04eea7372cbfe98e4709aee unrarsrc-5.4.5.tar.gz
96b653c6d61c4e0019fae3c6ac51f0ec makefile.patch"
-sha256sums="d91d5fa8abdbac60b3e2b7317cc1451a2b38c550adee977b847f22594c53f1bd unrarsrc-5.4.2.tar.gz
+sha256sums="e470c584332422893fb52e049f2cbd99e24dc6c6da971008b4e2ae4284f8796c unrarsrc-5.4.5.tar.gz
7c7d52c6a43373cebd5e47226e6842ad4a61dc73d5e28965d0a28d5ebde42aad makefile.patch"
-sha512sums="a6c6b4fde8d0d1bff1d8eabaf348c2397bc7f1433cb8781b7bf4d4d48a62cc23e410ab1b6badf2f16a87664e7ecd0a8e33c4f30fa8af23d65bc4efa7a6c964e3 unrarsrc-5.4.2.tar.gz
+sha512sums="ba2abf11638b5ee026cb9e0c3576c94376a01ab3c5411b9bd0e8116d64879c81e76df16f98d850f0f0f5387dda046f38be64ddfb4fe57431cc4d97066d6e3c2f unrarsrc-5.4.5.tar.gz
437a616f85abef6cc219278c680c85f647f45a70079da84379d42de58d924cc4ba6aeeb395f4d75bb74896f47521c12487197b3cfe5d4b997d3bf4d7a45b564d makefile.patch"