summaryrefslogtreecommitdiffstats
path: root/main/unrar/APKBUILD
blob: 4754b24fc029e8ef7c9b3ece151d7ce0cfdfe0e4 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unrar
pkgver=3.9.6
pkgrel=0
pkgdesc="The RAR uncompression program"
url="http://www.rarlab.com"
license="GPL"
depends=
makedepends="uclibc++-dev"
subpackages="$pkgname-doc"
source="http://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname"

	export CXX=g++-uc

	make -f makefile.unix || return 1
	install -Dm755 unrar "$pkgdir"/usr/bin/unrar

	install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"

}

md5sums="07d7c5dd3d3b778fc1870a981c43a3d3  unrarsrc-3.9.6.tar.gz"