🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233
pkgname: libbsd
pkgver: '0.12.2'
pkgrel: '4'
pkgdesc: 'This library provides useful functions commonly found on BSD systems, and lacking on others'
url: 'https://libbsd.freedesktop.org'
arch: x86_64
depends:
- libmd
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//"