Date: Wednesday, July 31, 2019 @ 09:29:22
  Author: bpiotrowski
Revision: 358817

archrelease: copy trunk to testing-x86_64

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

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

Copied: zstd/repos/testing-x86_64/PKGBUILD (from rev 358816, 
zstd/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2019-07-31 09:29:22 UTC (rev 358817)
@@ -0,0 +1,36 @@
+# Maintainer:  Bartłomiej Piotrowski <[email protected]>
+# Contributor: Andrzej Giniewicz <[email protected]>
+# Contributor: Johan Förberg <[email protected]>
+
+pkgname=zstd
+pkgver=1.4.2
+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=('7a6e1dad34054b35e2e847eb3289be8820a5d378228802239852f913c6dcf6a7')
+
+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"
+}

Reply via email to