summaryrefslogtreecommitdiff
path: root/extra/c-ares
diff options
context:
space:
mode:
Diffstat (limited to 'extra/c-ares')
-rw-r--r--extra/c-ares/PKGBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/extra/c-ares/PKGBUILD b/extra/c-ares/PKGBUILD
index d16d11ce9..45643af78 100644
--- a/extra/c-ares/PKGBUILD
+++ b/extra/c-ares/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 104396 2011-01-02 08:09:16Z dgriffiths $
+# $Id: PKGBUILD 143105 2011-11-23 02:52:51Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=c-ares
-pkgver=1.7.4
+pkgver=1.7.5
pkgrel=1
pkgdesc='C library that performs DNS requests and name resolves asynchronously'
arch=('i686' 'x86_64')
@@ -12,22 +13,22 @@ url='http://c-ares.haxx.se/'
license=('custom')
depends=('glibc')
options=('!libtool')
-source=(http://c-ares.haxx.se/${pkgname}-${pkgver}.tar.gz
- LICENSE)
-md5sums=('dd71e8f07d9f3c837e12a5416d1b7f73'
+source=("http://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc}
+ 'LICENSE')
+md5sums=('800875fc23cd8e1924d8af9172ed33e7'
+ '593129fa3c0612b78594adbe4ee48ca1'
'c69f2042941b708ce3e7121424d0b7e6')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --enable-shared || return 1
- make || return 1
+ ./configure --prefix=/usr --enable-shared
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ cd "$srcdir/$pkgname-$pkgver"
- install -Dm644 ${srcdir}/LICENSE \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}