# $Id: PKGBUILD 196877 2013-10-20 21:10:55Z dreisner $ # Maintainer: Dave Reisner # Contributor: Daniel J Griffiths # Contributor: Jeff Mickey # Contributor: Alexander Fehr pkgname=c-ares pkgver=1.10.0 pkgrel=2 pkgdesc='C library that performs DNS requests and name resolves asynchronously' arch=('i686' 'x86_64') url='http://c-ares.haxx.se/' license=('custom') depends=('glibc') options=('!libtool') source=("http://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc} 'LICENSE') md5sums=('1196067641411a75d3cbebe074fd36d8' 'SKIP' 'c69f2042941b708ce3e7121424d0b7e6') build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --enable-shared make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }