aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lzbench/APKBUILD
blob: 060dacd1a32bb4f413a6b8d2639e9e11d143ff41 (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
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=lzbench
pkgver=1.8
pkgrel=0
pkgdesc="lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors"
url="https://github.com/inikep/lzbench"
arch="all !x86 !s390x"
license="GPL zlib MIT Unlicense BSD Apache-2.0 CDDL CC0 custom"
options="!check" # No test suite from upstream
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/inikep/lzbench/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver/"

build() {
	make
}

package() {
	install -Dm 755 lzbench "$pkgdir"/usr/bin/lzbench

	install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md
}

sha512sums="3fbbc95159aa99844039ccf45fecf7a1637bb049a87542eb942a849234d753907c1f78f7fe3776855a282bc0cb1f363d26ca6dae4bc0d16592adc0853c977d16  lzbench-1.8.tar.gz"