🔒 Repository is read-only – file editing is disabled.

recipes/utils/c-ares/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: 'c-ares'
pkgver: '1.34.8'
pkgrel: '1'
pkgdesc: 'C library that performs DNS requests and name resolves asynchronously'
url: 'https://c-ares.haxx.se/'
arch: x86_64
license:
- MIT

depends: []
makedepends:
- cmake

source:
- 'https://github.com/c-ares/c-ares/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  mkdir build
  cd    build
  cmake  -DCMAKE_INSTALL_PREFIX=/usr ..
  make
  make DESTDIR=${PKGDIR} install

  install -Dm644 ../LICENSE.md ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.md

package: |
  true