aboutsummaryrefslogtreecommitdiffstats
path: root/main/unrar/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 14:56:10 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 16:52:18 +0000
commit5ad5a2ebf5264f5b5dd4bf1fb6e3fe5effc591cf (patch)
tree951921c45839ebf3025651237f2dad433e00d397 /main/unrar/APKBUILD
parent9318547c4d8d91e5cec8ed5e3bf8e552c4ab7fa4 (diff)
downloadaports-5ad5a2ebf5264f5b5dd4bf1fb6e3fe5effc591cf.tar.gz
aports-5ad5a2ebf5264f5b5dd4bf1fb6e3fe5effc591cf.tar.bz2
aports-5ad5a2ebf5264f5b5dd4bf1fb6e3fe5effc591cf.tar.xz
main/unrar: modernise, mark no tests
Diffstat (limited to 'main/unrar/APKBUILD')
-rw-r--r--main/unrar/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/unrar/APKBUILD b/main/unrar/APKBUILD
index 41cd12b269..deff6c0d74 100644
--- a/main/unrar/APKBUILD
+++ b/main/unrar/APKBUILD
@@ -7,6 +7,7 @@ pkgrel=0
pkgdesc="The RAR uncompression program"
url="http://www.rarlab.com"
arch="all"
+options="!check" # No test suite.
license="custom"
depends=""
makedepends=""
@@ -18,14 +19,14 @@ builddir="$srcdir"/$pkgname
build() {
cd "$builddir"
make CXX="${CXX:-g++}" CXXFLAGS="$CXXFLAGS" \
- LDFLAGS="$LDFLAGS" STRIP=: -f makefile || return 1
+ LDFLAGS="$LDFLAGS" STRIP=: -f makefile
}
package() {
cd "$builddir"
- install -Dm755 unrar "$pkgdir"/usr/bin/unrar || return 1
+ install -Dm755 unrar "$pkgdir"/usr/bin/unrar
install -Dm644 license.txt \
- "$pkgdir/usr/share/licenses/$pkgname/license.txt" || return 1
+ "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}
sha512sums="9eac83707fa47a03925e5f3e8adf47889064d748304b732d12a2d379ab525b441f1aa33216377d4ef445f45c4e8ad73d2cd0b560601ceac344c60571b77fd6aa unrarsrc-5.5.8.tar.gz