Package Details: snappy-git 1.1.3.r8.g2b9152d-2

Git Clone URL: (read-only, click to copy)
Package Base: snappy-git
Description: A fast compressor/decompressor library
Upstream URL:
Licenses: BSD
Conflicts: snappy, snappy-git
Provides: snappy
Replaces: snappy
Submitter: GreenRaccoon23
Maintainer: IslandC0der
Last Packager: GreenRaccoon23
Votes: 1
Popularity: 0.000000
First Submitted: 2015-07-08 09:14 (UTC)
Last Updated: 2016-03-15 00:27 (UTC)

Required by (368)

Sources (1)

Latest Comments

EndlessEden commented on 2021-08-21 00:42 (UTC)

updated and tested PKGBUILD:

EndlessEden commented on 2021-08-20 23:37 (UTC) (edited on 2021-08-21 00:39 (UTC) by EndlessEden)

cmake replaced autoconf for the build system. - Needs snappy.pc from arch packaging

conflicts=("${pkgname%-*}" "${pkgname}") checkdepends=('zlib') makedepends=('git' 'benchmark-git') provides=("$pkgname" 'snappy')

source=($pkgname::"git+${pkgname%-*}.git" "" "system_gtest.patch::" "fix_inline.patch::")

md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')

sha256sums=('SKIP' 'd210ff4d3ffe9a987b974a8387d967af66a93bf90d72fedce94a2159d937813e' 'ca96fd9e72f35ea63af82f19ff1ca93441bf5ea6b3f53ef4b974e83c249d8e3e' '9840c787881205eabddb811e09187214b5d5b72c56a3f12e324075ec661393dd')

pkgver() { cd "$srcdir"/"$pkgname" ( set -o pipefail git describe --long --tags 2>/dev/null | sed 's/([^-]*-g)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) }

prepare() { cd "$srcdir"/"$pkgname" patch -p1 < ../system_gtest.patch # patch -p1 < ../fix_inline.patch # }

build() { cd $srcdir"/"$pkgname"

# compile without assertions CXXFLAGS+=\ -DNDEBUG


make }

package() { cd $srcdir"/"$pkgname"

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. # install -Dm644 "$srcdir/snappy.pc" "$pkgdir/usr/lib/pkgconfig/snappy.pc" }