blob: 9566363dc241e27821a4a995498c3abb69eb6fc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=libbloom
pkgver=1.6
pkgrel=1
pkgdesc="Simple and small bloom filter in plain C"
url="https://github.com/jvirkki/libbloom"
arch="all"
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="3dd4343d68def05800dd6ffc5a05b05d0702a8c0c9f0a397f105d4389c88a7bffa419734aeb4fa4e1a2c418b12a8192fa27ddcbaeee72906450d64cbfd64db15 libbloom-1.6.tar.gz"
|