[arch-commits] Commit in libbloom/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 27 03:41:57 UTC 2019


    Date: Monday, May 27, 2019 @ 03:41:57
  Author: felixonmars
Revision: 470870

archrelease: copy trunk to community-testing-x86_64

Added:
  libbloom/repos/community-testing-x86_64/
  libbloom/repos/community-testing-x86_64/PKGBUILD
    (from rev 470869, libbloom/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: libbloom/repos/community-testing-x86_64/PKGBUILD (from rev 470869, libbloom/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-05-27 03:41:57 UTC (rev 470870)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libbloom
+pkgver=1.6
+pkgrel=1
+pkgdesc="A simple and small bloom filter implementation in plain C"
+arch=('x86_64')
+url="https://github.com/jvirkki/libbloom"
+license=('BSD')
+depends=('glibc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jvirkki/libbloom/archive/v$pkgver.tar.gz")
+sha512sums=('3dd4343d68def05800dd6ffc5a05b05d0702a8c0c9f0a397f105d4389c88a7bffa419734aeb4fa4e1a2c418b12a8192fa27ddcbaeee72906450d64cbfd64db15')
+
+build() {
+  cd libbloom-$pkgver
+  make MM=" "
+}
+
+check() {
+  cd libbloom-$pkgver
+  make MM=" " test
+}
+
+package() {
+  cd libbloom-$pkgver
+  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
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list