mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
main/unrar: use https for source URLs, improve abuild
This commit is contained in:
parent
3f712b9a92
commit
6409c2986b
@ -5,14 +5,14 @@ pkgname=unrar
|
|||||||
pkgver=5.6.4
|
pkgver=5.6.4
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="RAR uncompression program"
|
pkgdesc="RAR uncompression program"
|
||||||
url="http://www.rarlab.com"
|
url="https://www.rarlab.com"
|
||||||
arch="all"
|
arch="all"
|
||||||
options="!check" # No test suite.
|
options="!check" # No test suite.
|
||||||
license="custom"
|
license="custom"
|
||||||
depends=""
|
depends=""
|
||||||
makedepends=""
|
makedepends=""
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="http://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz
|
source="https://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz
|
||||||
makefile.patch"
|
makefile.patch"
|
||||||
builddir="$srcdir/$pkgname"
|
builddir="$srcdir/$pkgname"
|
||||||
|
|
||||||
@ -23,7 +23,8 @@ build() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
install -Dm755 unrar "$pkgdir"/usr/bin/unrar
|
make DESTDIR="$pkgdir"/usr install
|
||||||
|
|
||||||
install -Dm644 license.txt \
|
install -Dm644 license.txt \
|
||||||
"$pkgdir/usr/share/licenses/$pkgname/license.txt"
|
"$pkgdir/usr/share/licenses/$pkgname/license.txt"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user