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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Aug 27 18:27:12 UTC 2019


    Date: Tuesday, August 27, 2019 @ 18:27:12
  Author: bpiotrowski
Revision: 361291

archrelease: copy trunk to testing-x86_64

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

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

Copied: zstd/repos/testing-x86_64/PKGBUILD (from rev 361289, zstd/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-08-27 18:27:12 UTC (rev 361291)
@@ -0,0 +1,36 @@
+# Maintainer:  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.4.3
+pkgrel=1
+pkgdesc='Zstandard - Fast real-time compression algorithm'
+arch=(x86_64)
+url='https://www.zstd.net/'
+license=(BSD GPL2)
+depends=(zlib xz lz4)
+makedepends=(gtest)
+source=($pkgname-$pkgver.tar.gz::https://github.com/facebook/zstd/archive/v${pkgver}.tar.gz)
+sha256sums=('5eda3502ecc285c3c92ee0cc8cd002234dee39d539b3f692997a0e80de1d33de')
+
+build() {
+  cd $pkgname-$pkgver
+  make
+  make zstdmt
+  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
+  install -Dm755 zstdmt "$pkgdir/usr/bin/zstdmt"
+  install -Dm755 contrib/pzstd/pzstd "$pkgdir/usr/bin/pzstd"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list