aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lrzip/APKBUILD
blob: 5f271998545cb8c02604f9e6a74a891c33ddb7e5 (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
35
36
37
38
39
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=lrzip
pkgver=0.631
pkgrel=0
pkgdesc="A compression utility that excels at compressing large files"
url="https://github.com/ckolivas/lrzip"
arch="all"
license="GPL-2.0"
depends="bash"
makedepends="autoconf automake libtool zlib-dev bzip2-dev lzo-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ckolivas/lrzip/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	./autogen.sh
}


build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

sha512sums="acaedf406455e1a491cb6575585f2af0170e332838707b9e0e7c037b22994a30c8c514ef4b91bc6dde8369835e4e2ae51ebb9431263ca4f35111be2daabd5aef  lrzip-0.631.tar.gz"