[arch-commits] Commit in snappy/repos/extra-x86_64 (4 files)
Dave Reisner
dreisner at archlinux.org
Fri Jan 17 19:01:39 UTC 2020
Date: Friday, January 17, 2020 @ 19:01:38
Author: dreisner
Revision: 373637
archrelease: copy trunk to extra-x86_64
Added:
snappy/repos/extra-x86_64/PKGBUILD
(from rev 373636, snappy/trunk/PKGBUILD)
snappy/repos/extra-x86_64/snappy.pc
(from rev 373636, snappy/trunk/snappy.pc)
Deleted:
snappy/repos/extra-x86_64/PKGBUILD
snappy/repos/extra-x86_64/snappy.pc
-----------+
PKGBUILD | 109 +++++++++++++++++++++++++++++-------------------------------
snappy.pc | 20 +++++------
2 files changed, 64 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-17 19:01:20 UTC (rev 373636)
+++ PKGBUILD 2020-01-17 19:01:38 UTC (rev 373637)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Antony Male <antony dot male at geemail dot com>>
-
-pkgname=snappy
-pkgver=1.1.7
-pkgrel=1
-pkgdesc='A fast compressor/decompressor library'
-arch=('x86_64')
-url="https://google.github.io/snappy/"
-license=('BSD')
-depends=('glibc' 'gcc-libs')
-checkdepends=('zlib')
-makedepends=('cmake' 'clang')
-source=("https://github.com/google/snappy/archive/$pkgver.tar.gz"
- snappy.pc)
-md5sums=('ee9086291c9ae8deb4dac5e0b85bf54a'
- '4b491e29a8142fedd11472306f5c1192')
-
-build() {
- cd "$pkgname-$pkgver"
-
- # compile without assertions
- CXXFLAGS+=\ -DNDEBUG
-
- # export CXX=clang++
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DBUILD_SHARED_LIBS=yes \
- .
-
- make
-}
-
-check() {
- # compile without assertions
- CXXFLAGS+=\ -DNDEBUG
-
- make -C "$pkgname-$pkgver" test
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
- install -m644 -D COPYING "$pkgdir/usr/share/licenses/snappy/LICENSE"
-
- # remove this after the file exists upstream again
- # https://github.com/google/snappy/pull/55
- install -Dm644 "$srcdir/snappy.pc" "$pkgdir/usr/lib/pkgconfig/snappy.pc"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: snappy/repos/extra-x86_64/PKGBUILD (from rev 373636, snappy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-17 19:01:38 UTC (rev 373637)
@@ -0,0 +1,54 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Antony Male <antony dot male at geemail dot com>>
+
+pkgname=snappy
+pkgver=1.1.8
+pkgrel=1
+pkgdesc='A fast compressor/decompressor library'
+arch=('x86_64')
+url="https://google.github.io/snappy/"
+license=('BSD')
+depends=('glibc' 'gcc-libs')
+checkdepends=('zlib')
+makedepends=('cmake' 'clang')
+source=("https://github.com/google/snappy/archive/$pkgver.tar.gz"
+ snappy.pc)
+md5sums=('70e48cba7fecf289153d009791c9977f'
+ '4b491e29a8142fedd11472306f5c1192')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ # compile without assertions
+ CXXFLAGS+=\ -DNDEBUG
+
+ # export CXX=clang++
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_SHARED_LIBS=yes \
+ .
+
+ make
+}
+
+check() {
+ # compile without assertions
+ CXXFLAGS+=\ -DNDEBUG
+
+ make -C "$pkgname-$pkgver" test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -m644 -D COPYING "$pkgdir/usr/share/licenses/snappy/LICENSE"
+
+ # upstream dropped the pkgconfig file and isn't interested in adding it back.
+ # https://github.com/google/snappy/pull/55
+ install -Dm644 "$srcdir/snappy.pc" "$pkgdir/usr/lib/pkgconfig/snappy.pc"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: snappy.pc
===================================================================
--- snappy.pc 2020-01-17 19:01:20 UTC (rev 373636)
+++ snappy.pc 2020-01-17 19:01:38 UTC (rev 373637)
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: snappy
-Description: A fast compression/decompression library
-Version: 1.1.4
-Libs: -L${libdir} -lsnappy
-Cflags: -I${includedir}
Copied: snappy/repos/extra-x86_64/snappy.pc (from rev 373636, snappy/trunk/snappy.pc)
===================================================================
--- snappy.pc (rev 0)
+++ snappy.pc 2020-01-17 19:01:38 UTC (rev 373637)
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: snappy
+Description: A fast compression/decompression library
+Version: 1.1.4
+Libs: -L${libdir} -lsnappy
+Cflags: -I${includedir}
More information about the arch-commits
mailing list