blob: a41ee8b2395254ec3478d846c192580277161551 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unrar
pkgver=5.8.1
pkgrel=0
pkgdesc="RAR uncompression program"
url="https://www.rarlab.com"
arch="all"
options="!check" # No test suite.
license="custom"
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++}" STRIP=: -f makefile
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir"/usr install
install -Dm644 license.txt \
"$pkgdir/usr/share/licenses/$pkgname/license.txt"
}
sha512sums="31303df575e8a5ed9fc03e20d0482306536c3496894a39788052c5c9dfde61eb7f5ca29b8c48354581622a020aa446f108af956ab43024a48731a12233155612 unrarsrc-5.8.1.tar.gz
2caa145c2fb1257c3cea1f552cba7bf8a3f8772c65c9751aad3fb5bec4957c7fefdb7bbb016c94b73d4778cef76460ddc2abafa8a12d09ebd24bcb6f1dcb263c makefile.patch"
|