# Contributor: Leo # Maintainer: pkgname=libbloom pkgver=2.0 pkgrel=0 pkgdesc="Simple and small bloom filter in plain C" url="https://github.com/jvirkki/libbloom" arch="all !armhf !armv7 !x86" # 32-bit not supported license="BSD-2-Clause" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/jvirkki/libbloom/archive/v$pkgver.tar.gz" build() { make MM=" " } check() { make MM=" " test } package() { install -Dm644 bloom.h "$pkgdir"/usr/include/bloom.h install -Dm755 build/libbloom.so.$pkgver "$pkgdir"/usr/lib/libbloom.so.$pkgver ln -s libbloom.so.$pkgver "$pkgdir"/usr/lib/libbloom.so ln -s libbloom.so.$pkgver "$pkgdir"/usr/lib/libbloom.so.${pkgver%.*} } sha512sums=" 68369966d595c550e10ebc5f81d167aafa2878cfb403627ce43f5f9a7805fa0b360f369eacc66d3c96e35da922966a640ec8595399db76f8bbbba24b0d9e3144 libbloom-2.0.tar.gz "