aboutsummaryrefslogtreecommitdiffstats
path: root/community/zstd
diff options
context:
space:
mode:
Diffstat (limited to 'community/zstd')
-rw-r--r--community/zstd/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/zstd/APKBUILD b/community/zstd/APKBUILD
index f1d68808a7..af9b91aec6 100644
--- a/community/zstd/APKBUILD
+++ b/community/zstd/APKBUILD
@@ -1,12 +1,13 @@
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=zstd
-pkgver=1.2.0
+pkgver=1.3.0
pkgrel=0
pkgdesc="Zstandard - Fast real-time compression algorithm"
url="http://www.zstd.net"
arch="all"
license="BSD"
+checkdepends="file"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
@@ -16,9 +17,14 @@ build() {
make -j1
}
+check() {
+ cd "$builddir"
+ make test
+}
+
package() {
cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
-sha512sums="b21910c6bdcfad3199c07b9f70f7c049062ebd1cce9249dd33c36153e29f24dd9e796ddbc2f37846b9f508c14b0d0f67651fd8d2bdce558128f20bdfff50a7df zstd-1.2.0.tar.gz"
+sha512sums="5eb9e001e14d3342e76eb57b672c636fd56839ba8fc0ba9a751484ea93389c72c494ad2125dc2f9be1f72481f3af34568477123f7e9d3c7504e061e4c083cb30 zstd-1.3.0.tar.gz"