diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-08-19 19:26:25 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-08-19 19:26:25 (GMT) |
commit | b9463e0085b6fbf110f0c71143eca3f5c7fa61e5 (patch) | |
tree | 5ae0cee110ef13634edcfbb640629f5a4017401d /abs/extra/snappy | |
parent | c2c0f999ae7f3a092f6f9ffbd88e79e97f1f4d53 (diff) | |
download | linhes_pkgbuild-b9463e0085b6fbf110f0c71143eca3f5c7fa61e5.zip linhes_pkgbuild-b9463e0085b6fbf110f0c71143eca3f5c7fa61e5.tar.gz linhes_pkgbuild-b9463e0085b6fbf110f0c71143eca3f5c7fa61e5.tar.bz2 |
snappy: initial inclusion. dep of chromium 28.
Diffstat (limited to 'abs/extra/snappy')
-rw-r--r-- | abs/extra/snappy/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra/snappy/PKGBUILD b/abs/extra/snappy/PKGBUILD new file mode 100644 index 0000000..ef03f35 --- /dev/null +++ b/abs/extra/snappy/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Dave Reisner <dreisner@archlinux.org> +# Contributor: Antony Male <antony dot male at geemail dot com>> + +pkgname=snappy +pkgver=1.1.0 +pkgrel=1 +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=('c8f3ef29b5281e78f4946b2d739cea4f') + +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: |