[arch-commits] Commit in c-ares/repos/extra-x86_64 (LICENSE PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Nov 19 20:44:07 UTC 2020
Date: Thursday, November 19, 2020 @ 20:44:07
Author: dvzrv
Revision: 401447
archrelease: copy trunk to extra-x86_64
Added:
c-ares/repos/extra-x86_64/PKGBUILD
(from rev 401446, c-ares/trunk/PKGBUILD)
Deleted:
c-ares/repos/extra-x86_64/LICENSE
c-ares/repos/extra-x86_64/PKGBUILD
----------+
LICENSE | 10 --------
PKGBUILD | 74 ++++++++++++++++++++++++++++++++-----------------------------
2 files changed, 40 insertions(+), 44 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2020-11-19 20:44:00 UTC (rev 401446)
+++ LICENSE 2020-11-19 20:44:07 UTC (rev 401447)
@@ -1,10 +0,0 @@
-Copyright 1998 by the Massachusetts Institute of Technology.
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided that
-the above copyright notice appear in all copies and that both that copyright
-notice and this permission notice appear in supporting documentation, and that
-the name of M.I.T. not be used in advertising or publicity pertaining to
-distribution of the software without specific, written prior permission.
-M.I.T. makes no representations about the suitability of this software for any
-purpose. It is provided "as is" without express or implied warranty.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-19 20:44:00 UTC (rev 401446)
+++ PKGBUILD 2020-11-19 20:44:07 UTC (rev 401447)
@@ -1,34 +0,0 @@
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=c-ares
-pkgver=1.16.1
-pkgrel=2
-pkgdesc='C library that performs DNS requests and name resolves asynchronously'
-arch=('x86_64')
-url='https://c-ares.haxx.se/'
-license=('custom')
-depends=('glibc')
-source=("https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc}
- 'LICENSE')
-sha512sums=('4ac2a5d5c6da74eb1d6155c4eadc7127ab1b53a8d13caec41bd6172db5417a79f3ab022e77ba37d8b13da6893d7ced5fd8baf5cc3950a4154b4de8743ad31471'
- 'SKIP'
- '55e8607392c5f82ed85e3580fa632dfdc2dcd0b1a5e918dc61d00532c15c11ecb709f6007b65805c1fbe8fcd21ee794c9e4a9638c97ac1f4960b2654010a4d0a')
-validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2' # Daniel Stenberg
- '914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg
-
-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"
-}
Copied: c-ares/repos/extra-x86_64/PKGBUILD (from rev 401446, c-ares/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-19 20:44:07 UTC (rev 401447)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=c-ares
+pkgver=1.17.1
+pkgrel=1
+pkgdesc="A C library for asynchronous DNS requests"
+arch=('x86_64')
+url="https://c-ares.haxx.se/"
+license=('MIT')
+depends=('glibc')
+makedepends=('cmake')
+provides=('libcares.so')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname//-}-${pkgver//./_}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('b11887bcc9274d368088e1a8b6aca62414f20675cf0bc58e948f54fa04c327c39dd23cefe7509eec6397db14b550a3f6b77f5c18b3d735b3eef48ce2da1dcd00'
+ 'SKIP')
+b2sums=('31dac21ecae231e2a201dc1ba954c1a0663a06f93eb8e7e033ca3c6d385f53e07af0b04854739f1ee8a7f0693f67f620143e152ef092b49342c62279a0480905'
+ 'SKIP')
+validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg <daniel at haxx.se>
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE='None' \
+ -Wno-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install -C build
+ install -vDm 644 "LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -vDm 644 {AUTHORS,CHANGES,{CONTRIBUTING,README}.md,RELEASE-NOTES} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
More information about the arch-commits
mailing list