ayaports/unmaintained/unrar/APKBUILD

34 lines
1 KiB
Text
Raw Normal View History

2021-11-30 21:44:44 +00:00
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
2023-01-11 00:40:45 +00:00
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
pkgname=unrar
pkgver=6.0.7
pkgrel=0
pkgdesc="RAR uncompression program"
url="https://www.rarlab.com/rar_add.htm"
arch="all"
options="!check" # no test suite
license="custom"
subpackages="$pkgname-doc"
source="https://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz
makefile.patch"
builddir="$srcdir/$pkgname"
build() {
make CXX="${CXX:-g++}" STRIP=: -f makefile
}
package() {
make DESTDIR="$pkgdir"/usr install
install -Dm644 license.txt \
"$pkgdir"/usr/share/licenses/$pkgname/license.txt
}
sha512sums="
2c50d1f58f5189e59dad36eb25aa50a34572f583242e624846c9791c5609e83d4ee76314d785771fe514ec3378749dcb86e4c97a8d2a3ab7b469df49a5c5f412 unrarsrc-6.0.7.tar.gz
2caa145c2fb1257c3cea1f552cba7bf8a3f8772c65c9751aad3fb5bec4957c7fefdb7bbb016c94b73d4778cef76460ddc2abafa8a12d09ebd24bcb6f1dcb263c makefile.patch
"