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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:41:16 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:41:16
  Author: felixonmars
Revision: 658189

archrelease: copy trunk to community-staging-any

Added:
  sparsehash/repos/community-staging-any/
  sparsehash/repos/community-staging-any/PKGBUILD
    (from rev 658187, sparsehash/trunk/PKGBUILD)

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

Copied: sparsehash/repos/community-staging-any/PKGBUILD (from rev 658187, sparsehash/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:41:16 UTC (rev 658189)
@@ -0,0 +1,23 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=sparsehash
+pkgver=2.0.3
+pkgrel=3
+pkgdesc="Library that contains several hash-map implementations, including implementations that optimize for space or speed."
+arch=("any")
+url="https://github.com/sparsehash/sparsehash"
+license=('BSD')
+source=("https://github.com/sparsehash/sparsehash/archive/sparsehash-$pkgver.tar.gz")
+sha256sums=('05e986a5c7327796dad742182b2d10805a8d4f511ad090da0490f146c1ff7a8c')
+
+build() {
+	cd "$srcdir"/sparsehash-sparsehash-$pkgver
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "$srcdir"/sparsehash-sparsehash-$pkgver
+	make DESTDIR="$pkgdir/" install
+	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list