[arch-commits] Commit in zstd/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri May 14 19:35:30 UTC 2021


    Date: Friday, May 14, 2021 @ 19:35:29
  Author: jelle
Revision: 415512

archrelease: copy trunk to testing-x86_64

Added:
  zstd/repos/testing-x86_64/
  zstd/repos/testing-x86_64/PKGBUILD
    (from rev 415511, zstd/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: zstd/repos/testing-x86_64/PKGBUILD (from rev 415511, zstd/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-05-14 19:35:29 UTC (rev 415512)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Johan Förberg <johan at forberg.se>
+
+pkgname=zstd
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Zstandard - Fast real-time compression algorithm'
+url='https://facebook.github.io/zstd/'
+arch=(x86_64)
+license=(BSD GPL2)
+depends=(glibc gcc-libs zlib xz lz4)
+makedepends=(gtest)
+provides=(libzstd.so)
+source=(https://github.com/facebook/zstd/releases/download/v${pkgver}/zstd-${pkgver}.tar.zst)
+sha256sums=('9aa8dfc1ca17f358b28988ca1f6e00ffe1c6f3198853f8d2022799e6f0669180')
+b2sums=('cfea18b2347bf893d9bd461e57113d0a141040a1f7a42db6221ed9662f84023f45b058df3382cc06d82596f8eb98e0806f3abe1e79155fafd46da2a8b746bfbe')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+  make -C contrib/pzstd
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+  make -C contrib/pzstd test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+  ln -sf /usr/bin/zstd "${pkgdir}/usr/bin/zstdmt"
+  install -Dm 755 contrib/pzstd/pzstd -t "${pkgdir}/usr/bin"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list