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

Dave Reisner dreisner at archlinux.org
Sat Sep 22 20:17:43 UTC 2012


    Date: Saturday, September 22, 2012 @ 16:17:43
  Author: dreisner
Revision: 166939

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

Added:
  snappy/repos/extra-i686/
  snappy/repos/extra-i686/PKGBUILD
    (from rev 166938, snappy/trunk/PKGBUILD)
  snappy/repos/extra-x86_64/
  snappy/repos/extra-x86_64/PKGBUILD
    (from rev 166938, snappy/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: snappy/repos/extra-i686/PKGBUILD (from rev 166938, snappy/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-09-22 20:17:43 UTC (rev 166939)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Antony Male <antony dot male at geemail dot com>>
+
+pkgname=snappy
+pkgver=1.0.5
+pkgrel=2
+pkgdesc='A fast compressor/decompressor library'
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/snappy/"
+license=('BSD')
+depends=('glibc' 'gcc-libs')
+checkdepends=('zlib')
+options=('!libtool')
+source=("http://snappy.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+md5sums=('4c0af044e654f5983f4acbf00d1ac236')
+
+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/extra-x86_64/PKGBUILD (from rev 166938, snappy/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-09-22 20:17:43 UTC (rev 166939)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Antony Male <antony dot male at geemail dot com>>
+
+pkgname=snappy
+pkgver=1.0.5
+pkgrel=2
+pkgdesc='A fast compressor/decompressor library'
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/snappy/"
+license=('BSD')
+depends=('glibc' 'gcc-libs')
+checkdepends=('zlib')
+options=('!libtool')
+source=("http://snappy.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+md5sums=('4c0af044e654f5983f4acbf00d1ac236')
+
+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