Name libfyaml
Description Fully feature complete YAML parser and emitter
Version 0.9.4-1
Package Base libfyaml
Homepage https://pantoniou.github.io/libfyaml/
Maintainers ['Antonio Rojas <arojas@archlinux.org>']
Contributors []
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/libfyaml
Sources ['git+https://github.com/pantoniou/libfyaml#tag=v0.9.4']
Dependencies ['glibc']
Optional-Dependencies []
Build-Dependencies ['git']
Provides []
Builddate 03-02-2026 21:08:02
Architecture x86_64
Distro-Version
Licenses ['MIT']
Hash 3b057d2f38146990d13329d95664e075e55d692b423bcbbd1353090ff5af627f
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=libfyaml
pkgver=0.9.4
pkgrel=1
pkgdesc='Fully feature complete YAML parser and emitter'
arch=(x86_64)
url='https://pantoniou.github.io/libfyaml/'
license=(MIT)
depends=(glibc)
makedepends=(git)
source=(git+https://github.com/pantoniou/libfyaml#tag=v$pkgver)
sha256sums=('06851d893ae1c66ce2db681f229aa62572a535a3ab67c49354c1b4c622c7c2ec')

prepare() {
  cd $pkgname
  autoreconf -fiv
}

build() {
  cd $pkgname
  ./configure \
    --prefix=/usr
  make
}

package() {
  cd $pkgname
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}