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

Allan McRae allan at archlinux.org
Sat Dec 5 15:20:47 UTC 2015


    Date: Saturday, December 5, 2015 @ 16:20:47
  Author: allan
Revision: 252407

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

Added:
  snappy/repos/staging-i686/
  snappy/repos/staging-i686/PKGBUILD
    (from rev 252406, snappy/trunk/PKGBUILD)
  snappy/repos/staging-x86_64/
  snappy/repos/staging-x86_64/PKGBUILD
    (from rev 252406, snappy/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: snappy/repos/staging-i686/PKGBUILD (from rev 252406, snappy/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-05 15:20:47 UTC (rev 252407)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Antony Male <antony dot male at geemail dot com>>
+
+pkgname=snappy
+pkgver=1.1.3
+pkgrel=2
+pkgdesc='A fast compressor/decompressor library'
+arch=('i686' 'x86_64')
+url="https://google.github.io/snappy/"
+license=('BSD')
+depends=('glibc' 'gcc-libs')
+checkdepends=('zlib')
+source=("https://github.com/google/snappy/releases/download/1.1.3/$pkgname-$pkgver.tar.gz")
+md5sums=('7358c82f133dc77798e4c2062a749b73')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # compile without assertions
+  CXXFLAGS+=\ -DNDEBUG
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  # compile without assertions
+  CXXFLAGS+=\ -DNDEBUG
+
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  install -m644 -D COPYING "$pkgdir/usr/share/licenses/snappy/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: snappy/repos/staging-x86_64/PKGBUILD (from rev 252406, snappy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-05 15:20:47 UTC (rev 252407)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Antony Male <antony dot male at geemail dot com>>
+
+pkgname=snappy
+pkgver=1.1.3
+pkgrel=2
+pkgdesc='A fast compressor/decompressor library'
+arch=('i686' 'x86_64')
+url="https://google.github.io/snappy/"
+license=('BSD')
+depends=('glibc' 'gcc-libs')
+checkdepends=('zlib')
+source=("https://github.com/google/snappy/releases/download/1.1.3/$pkgname-$pkgver.tar.gz")
+md5sums=('7358c82f133dc77798e4c2062a749b73')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # compile without assertions
+  CXXFLAGS+=\ -DNDEBUG
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  # compile without assertions
+  CXXFLAGS+=\ -DNDEBUG
+
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  install -m644 -D COPYING "$pkgdir/usr/share/licenses/snappy/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list