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

recipes/core/libgpg-error/PAGBUILD.yaml main

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: 'libgpg-error'
pkgver: '1.61'
pkgrel: '1'
pkgdesc: 'Contains a library that defines common error values for all GnuPG components'
url: 'https://www.gnupg.org'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2'

sha256sums:
- 7a85413f2bc354f4f8aa832b718af122e48965e9e0eb9012ee659c13c6385c93

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make DESTDIR=${PKGDIR} install
  install -v -m644 -D README \
  ${PKGDIR}/usr/share/doc/${pkgname}/README
  rm -f ${PKGDIR}/usr/lib/${pkgname}.la

package: |
  true

update: |
  local url ext

  url="https://www.gnupg.org/ftp/gcrypt/${pkgname}"
  ext=".tar.bz2"
  lynx -read_timeout=20 -dump -listonly -nonumbers \
  $url|grep ${pkgname}-|head -1|sed "s@$url/${pkgname}-@@"|sed "s@$ext@@"