# Maintainer: Francesco Marinucci 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" }