blob: 3c92bd9403994ef1d6bb4748c4e337cdb2417ccb (
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.2
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="09f12f141925aa99d74d4a0a0f3bacdd5b53d174473346de317cf95c1f560ef4bad445f14d81d313f8a34e8400df6a76709d068b9cd23433d1f638935185ab0d unrarsrc-5.8.2.tar.gz
2caa145c2fb1257c3cea1f552cba7bf8a3f8772c65c9751aad3fb5bec4957c7fefdb7bbb016c94b73d4778cef76460ddc2abafa8a12d09ebd24bcb6f1dcb263c makefile.patch"
|