blob: e084d6a998c00b29fd26e7bc9fca2e75a8f33a4b (
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
32
|
# 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.5.7
pkgrel=0
pkgdesc="The RAR uncompression program"
url="http://www.rarlab.com"
arch="all"
license="custom"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://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 || return 1
}
package() {
cd "$builddir"
install -Dm755 unrar "$pkgdir"/usr/bin/unrar || return 1
install -Dm644 license.txt \
"$pkgdir/usr/share/licenses/$pkgname/license.txt" || return 1
}
sha512sums="7dfad639df1f64db662a24b79fe77c7085096ad1d63de8f3e6ed01082334ac83e7bdf0572d2137e5fc11e261491da55b579b6fc50933a4cb3569c7fe972be5db unrarsrc-5.5.7.tar.gz
16ac44a1d5f3673ead8a974245b93f45e880d3df562bfd5029f955a1ff24f7bee36e02cda014669393932de0e9b25af307d84fb4a383e1e0e45ae6a13875b83a makefile.patch"
|