blob: cf970075b2d016ee2b13fd7a7e606f55a619b80d (
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
33
34
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unrar
pkgver=5.1.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"
prepare() {
cd "$srcdir/$pkgname"
sed -i 's/-O2/-Os/g' makefile
}
build() {
cd "$srcdir/$pkgname"
make -f makefile || 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="af571529a358c972872b91792ffc0a80 unrarsrc-5.1.7.tar.gz"
sha256sums="acba87d6e369af7383434774f859dff199995495cea706087d2a56c536522d8e unrarsrc-5.1.7.tar.gz"
sha512sums="0fc46f988d7586e0890f64b00f7f5f7189921f21249d4354f9e8e5c851d194cbaf10148b6241cd3d557aa1a76cafdc5795decb65e529a670ca760bb9e0f89963 unrarsrc-5.1.7.tar.gz"
|