Commit d5055268 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] c-ares: update to 1.15.0

parent b6c056ca
Pipeline #3156 skipped
# Contributions from Arch:
# 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.11.0
pkgver=1.15.0
pkgrel=1
pkgdesc='C library that performs DNS requests and name resolves asynchronously.'
pkgdesc='C library that performs DNS requests and name resolves asynchronously'
arch=('x86_64')
url='http://c-ares.haxx.se/'
license=('MIT')
url='https://c-ares.haxx.se/'
license=('custom')
depends=('glibc')
source=(http://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz
license.txt)
sha1sums=('8c20b2680099ac73861a780c731edd59e010383a'
'acc86c062e367c0d98b6b0b6dc811b5691e1fd71')
source=("https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc}
'LICENSE')
sha512sums=('a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50'
'SKIP'
'55e8607392c5f82ed85e3580fa632dfdc2dcd0b1a5e918dc61d00532c15c11ecb709f6007b65805c1fbe8fcd21ee794c9e4a9638c97ac1f4960b2654010a4d0a')
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2' # Daniel Stenberg
'914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--enable-shared \
--prefix=/usr
cd "$pkgname-$pkgver"
./configure --prefix=/usr --enable-shared
make
}
package() {
cd $srcdir/$pkgname-$pkgver
# Main Installation.
make DESTDIR=$pkgdir install
cd "$pkgname-$pkgver"
# License.
install -Dm644 $srcdir/license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt || return 1
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment