blob: e4de34938ec6f1e1a02951a5590ad73acf26403b (
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.5
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="b0979641737e3ef18f6708cc19e335c312ac5c6e2a13206d5fed9a5564ac99042c45a842da95163e53c6415131a39a91e901aeb186016da2e3781164679a07ff unrarsrc-5.5.5.tar.gz
437a616f85abef6cc219278c680c85f647f45a70079da84379d42de58d924cc4ba6aeeb395f4d75bb74896f47521c12487197b3cfe5d4b997d3bf4d7a45b564d makefile.patch"
|