[arch-commits] Commit in zstd/repos (core-x86_64 core-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 10 11:49:12 UTC 2017
Date: Sunday, December 10, 2017 @ 11:49:10
Author: bpiotrowski
Revision: 312040
archrelease: copy trunk to core-x86_64
Added:
zstd/repos/core-x86_64/
zstd/repos/core-x86_64/PKGBUILD
(from rev 312039, zstd/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: zstd/repos/core-x86_64/PKGBUILD (from rev 312039, zstd/trunk/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2017-12-10 11:49:10 UTC (rev 312040)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Johan Förberg <johan at forberg.se>
+
+pkgname=zstd
+pkgver=1.3.2
+pkgrel=1
+pkgdesc='Zstandard - Fast real-time compression algorithm'
+arch=('x86_64')
+url='http://www.zstd.net/'
+license=('BSD', 'GPL2')
+depends=('zlib' 'xz' 'lz4')
+makedepends=('gtest')
+source=("https://github.com/facebook/zstd/archive/v${pkgver}.tar.gz")
+sha1sums=('2478765996a25232abb5e38707fc77deeaaaab37')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+ make zstdmt
+ make -C contrib/pzstd
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX="/usr" DESTDIR="$pkgdir/" install
+ install -D -m755 zstdmt "$pkgdir/usr/bin/zstdmt"
+ install -D -m755 contrib/pzstd/pzstd "$pkgdir/usr/bin/pzstd"
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list