summaryrefslogblamecommitdiff
path: root/system/zstd/APKBUILD
blob: 89f6ed7a08531161ce6859e6746d7683cc7148da (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.3
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"
checkdepends="file"
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="cb36772a59f79922e65c0f869384dca4ef2948c1d1440abcddecc7e3838efee5b547dad97b9023cdcf17bf10a32412b8f3b20a5e16b79314e61074987edecfab  zstd-1.4.3.tar.gz"