[arch-commits] Commit in zstd/repos (4 files)

Andrzej Giniewicz aginiewicz at archlinux.org
Wed Oct 5 18:27:25 UTC 2016


    Date: Wednesday, October 5, 2016 @ 18:27:24
  Author: aginiewicz
Revision: 191411

archrelease: copy trunk to community-i686, community-x86_64

Added:
  zstd/repos/community-i686/
  zstd/repos/community-i686/PKGBUILD
    (from rev 191410, zstd/trunk/PKGBUILD)
  zstd/repos/community-x86_64/
  zstd/repos/community-x86_64/PKGBUILD
    (from rev 191410, zstd/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   28 ++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   28 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: zstd/repos/community-i686/PKGBUILD (from rev 191410, zstd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-05 18:27:24 UTC (rev 191411)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Johan Förberg <johan at forberg.se>
+
+pkgname=zstd
+pkgver=1.1.0
+pkgrel=3
+pkgdesc='Zstandard - Fast real-time compression algorithm'
+arch=('i686' 'x86_64')
+url='http://www.zstd.net/'
+license=('BSD')
+depends=('gcc-libs')
+source=("https://github.com/facebook/zstd/archive/v${pkgver}.tar.gz")
+sha1sums=('6c24a604cf71a961d4172cbced6b10470d1b416e')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make
+    make -C contrib/pzstd
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make PREFIX="/usr" DESTDIR="$pkgdir/" install
+    install -D -m755 contrib/pzstd/pzstd "$pkgdir/usr/bin/pzstd"
+    install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -D -m644 PATENTS "$pkgdir/usr/share/licenses/$pkgname/PATENTS"
+}

Copied: zstd/repos/community-x86_64/PKGBUILD (from rev 191410, zstd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-05 18:27:24 UTC (rev 191411)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Johan Förberg <johan at forberg.se>
+
+pkgname=zstd
+pkgver=1.1.0
+pkgrel=3
+pkgdesc='Zstandard - Fast real-time compression algorithm'
+arch=('i686' 'x86_64')
+url='http://www.zstd.net/'
+license=('BSD')
+depends=('gcc-libs')
+source=("https://github.com/facebook/zstd/archive/v${pkgver}.tar.gz")
+sha1sums=('6c24a604cf71a961d4172cbced6b10470d1b416e')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make
+    make -C contrib/pzstd
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make PREFIX="/usr" DESTDIR="$pkgdir/" install
+    install -D -m755 contrib/pzstd/pzstd "$pkgdir/usr/bin/pzstd"
+    install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -D -m644 PATENTS "$pkgdir/usr/share/licenses/$pkgname/PATENTS"
+}



More information about the arch-commits mailing list