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

recipes/utils/libbsd/PAGBUILD.yaml main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
pkgname: libbsd
pkgver: '0.12.2'
pkgrel: '2'
pkgdesc: 'This library provides useful functions commonly found on BSD systems, and lacking on others'
url: 'https://libbsd.freedesktop.org'
arch: x86_64
depends: []
makedepends:
- glibc
- libmd

source:
- 'https://libbsd.freedesktop.org/releases/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make DESTDIR="${PKGDIR}" install

package: |
  rm -f ${PKGDIR}/usr/lib/libbsd.la

update: |
  local url ext
  ext=".tar.xz"
  url="https://libbsd.freedesktop.org/releases/"
  lynx -read_timeout=20 -dump -listonly -nonumbers \
  $url/?C=M\;O=D|grep $ext$|head -1|sed "s@$url/${pkgname}-@@"|sed "s/$ext//"