aboutsummaryrefslogtreecommitdiffstats
path: root/community/zstd/APKBUILD
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-07-07 23:19:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 09:22:46 +0000
commit7cbab367dd0e6467f9eb0699559629406c8586b5 (patch)
tree8463a54a81c744ea1410b18e5a519b7516974724 /community/zstd/APKBUILD
parent0fd64360bf6d4531c751a86b30feae1b6b58c759 (diff)
downloadaports-7cbab367dd0e6467f9eb0699559629406c8586b5.tar.bz2
aports-7cbab367dd0e6467f9eb0699559629406c8586b5.tar.xz
community/zstd: upgrade to 1.3.0
Diffstat (limited to 'community/zstd/APKBUILD')
-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"