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

build() {
	cd "$srcdir/$pkgname"
	make -f makefile.unix || return 1
}

package() {
	cd "$srcdir/$pkgname"
	install -Dm755 unrar "$pkgdir"/usr/bin/unrar
	install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"

}

md5sums="41b0a9bca945b4ae2608421afd8f606e  unrarsrc-4.0.7.tar.gz"