sparsehash: added to repo

This commit is contained in:
Francesco Marinucci 2014-12-15 23:31:29 +00:00
parent 380f6964fa
commit 85c3da53d6

24
sparsehash/PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
# Maintainer: Francesco Marinucci <framari [at] openmailbox [dot] org>
pkgname=sparsehash
pkgver=2.0.2
pkgrel=2
pkgdesc="An extremely memory-efficient hash_map implementation."
arch=('x86_64')
url="http://code.google.com/p/sparsehash"
license=('BSD')
source=("http://sparsehash.googlecode.com/files/$pkgname-$pkgver.tar.gz")
md5sums=('1db92ed7f257d9b5f14a309d75e8a1d4')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}