summaryrefslogtreecommitdiff
path: root/user/zstd/APKBUILD
blob: e47eceb127502630d51a615c319a5c2f52abb20f (plain) (blame)
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: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=zstd
pkgver=1.4.0
pkgrel=0
pkgdesc="Fast real-time compression algorithm"
url="https://facebook.github.io/zstd/"
arch="all"
license="BSD-3-Clause AND GPL-2.0-only"
depends=""
makedepends="lz4-dev xz-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/facebook/zstd/releases/download/v$pkgver/zstd-$pkgver.tar.gz"

build() {
	make PREFIX="/usr"
}

check() {
	make PREFIX="/usr" check
}

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

sha512sums="ef6d95639593fed3cfb9ff4f1527c4ba38658e42f16eb3369b2a4bbe150905751bb71c6e3fe9c8bbdfceee26a540ae3e41bd0f0bc692d36db444b7da65a6e304  zstd-1.4.0.tar.gz"