blob: d47d62396642d953eca32acb6498ee60df36875f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 175878 2013-01-23 00:23:32Z 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>
pkgname=c-ares
pkgver=1.9.1
pkgrel=1
pkgdesc='C library that performs DNS requests and name resolves asynchronously'
arch=('i686' 'x86_64' 'mips64el')
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=('389db4917a3b58c4ce4ebfe961fd84c4'
'8a180aabbd7565e1a9f3ca5c6be6e99c'
'c69f2042941b708ce3e7121424d0b7e6')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --enable-shared
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|