# $Id: PKGBUILD 23085 2009-01-02 12:18:45Z alexanderf $ # Maintainer: Jeff Mickey # Maintainer: Alexander Fehr pkgname=c-ares pkgver=1.6.0 pkgrel=1 pkgdesc="C library that performs DNS requests and name resolves asynchronously" arch=('i686' 'x86_64') url="http://c-ares.haxx.se/" license=('MIT') depends=('glibc') options=('!libtool') source=(http://c-ares.haxx.se/c-ares-$pkgver.tar.gz LICENSE) md5sums=('4503b0db3dd79d3c1f58d87722dbab46' 'c69f2042941b708ce3e7121424d0b7e6') build() { cd "$srcdir/c-ares-$pkgver" ./configure --prefix=/usr --enable-shared || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/c-ares/LICENSE" || return 1 }