[arch-commits] Commit in robin-map/repos (community-x86_64 community-x86_64/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Sep 4 09:01:56 UTC 2020


    Date: Friday, September 4, 2020 @ 09:01:56
  Author: svenstaro
Revision: 697876

archrelease: copy trunk to community-x86_64

Added:
  robin-map/repos/community-x86_64/
  robin-map/repos/community-x86_64/PKGBUILD
    (from rev 697875, robin-map/trunk/PKGBUILD)

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

Copied: robin-map/repos/community-x86_64/PKGBUILD (from rev 697875, robin-map/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-09-04 09:01:56 UTC (rev 697876)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=robin-map
+pkgver=0.6.3
+pkgrel=1
+pkgdesc="C++ implementation of a fast hash map and hash set using robin hood hashing"
+arch=(x86_64)
+url="https://github.com/Tessil/robin-map"
+license=('MIT')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Tessil/robin-map/archive/v${pkgver}.tar.gz")
+sha512sums=('485557f300d33bda62bb8accdf246819ee8ffe956bc022e7ddca54ff6ad1a9fdb8db8d80690add3ef238e834d1eb8e2905920cb0a0674e7df010f6946d01297b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake . \
+      -Bbuild \
+      -DCMAKE_INSTALL_PREFIX=/usr
+  make -C build
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  DESTDIR="$pkgdir" make -C build install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list