summaryrefslogtreecommitdiff
path: root/testing/lzbench/APKBUILD
blob: c2ac50d0b68358decbbc66667f29c954fc4f4700 (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.1
pkgrel=1
pkgdesc="lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors"
url="https://github.com/inikep/lzbench"
arch="all !x86 !s390x !riscv64"
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="5a1f4c25a7d8b95619027c527e668d466cbdb8759faf4fcd59d3de311895fc72788b8e06b7ac5bb2d26bb94fbe633f5639336fa6eac6ba72769e4ad969401862  lzbench-1.8.1.tar.gz"