summaryrefslogblamecommitdiff
path: root/system/zstd/APKBUILD
blob: 948afd7e8d2f65a282ea5a97b27154273168c2ab (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
            





                                              
                   
                                     



                                                                                        



                          



                                


                                                    
                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=zstd
pkgver=1.4.5
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=""
checkdepends="file"
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="417b813ade6c8436690bd9d6da34a9f87f50e7378752b72e63066befbee496392a4b72896fa56688d814f461871ab31d3c6637497ff2ed7a282d58513631a38b  zstd-1.4.5.tar.gz"