summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-27 21:06:11 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-27 21:06:11 +0000
commit9b25ae4691ab60a3cf6f84ecedd77dca8c977bf7 (patch)
tree04feeeabca2854a4b1f9c1ee3dbd035e830d224d /user
parent34507faf31fdc5f1f34a934062d4129a98544226 (diff)
downloadpackages-9b25ae4691ab60a3cf6f84ecedd77dca8c977bf7.tar.gz
packages-9b25ae4691ab60a3cf6f84ecedd77dca8c977bf7.tar.bz2
packages-9b25ae4691ab60a3cf6f84ecedd77dca8c977bf7.tar.xz
packages-9b25ae4691ab60a3cf6f84ecedd77dca8c977bf7.zip
user/zstd: new package
Diffstat (limited to 'user')
-rw-r--r--user/zstd/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/zstd/APKBUILD b/user/zstd/APKBUILD
new file mode 100644
index 000000000..b930a1a1e
--- /dev/null
+++ b/user/zstd/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=zstd
+pkgver=1.3.7
+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=""
+depends_dev=""
+makedepends="$depends_dev 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() {
+ cd "$builddir"
+ make PREFIX="/usr"
+}
+
+check() {
+ cd "$builddir"
+ make PREFIX="/usr" check
+}
+
+package() {
+ cd "$builddir"
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
+}
+
+sha512sums="fb9ac61b79b22a628e602e68f7c59c85a00020f7f25b8653076895da7589ca1203adc7fe3d9b865f36648bc30d765b9630cf0955f970596253da74c089b97af1 zstd-1.3.7.tar.gz"