aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zstd/APKBUILD
blob: 3eb2cb7e91c447aa53a081c36bc63bbc6ed7ff13 (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
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Maintainer:
pkgname=zstd
pkgver=1.1.1
pkgrel=0
pkgdesc="Zstandard - Fast real-time compression algorithm"
url="http://www.zstd.net"
arch="all"
license="BSD"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	# makefile does not parallelize properly
	make -j1
}

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

md5sums="487cfdc41d7afebb565c171bf3df27a2  zstd-1.1.1.tar.gz"
sha256sums="a92965a2480fecc6b7bf491106e93cbf69a298b865b6d623755b3a482d77e614  zstd-1.1.1.tar.gz"
sha512sums="a8817e74254f21ee5b76a21691e009ede2cdc70a78facfa453902df3e710e90e78d67f2229956d835960fd1085c33312ff273771b75f9322117d85eb35d8e695  zstd-1.1.1.tar.gz"