Name libyaml
Description YAML 1.1 library
Version 0.2.5-3
Package Base libyaml
Homepage https://pyyaml.org/wiki/LibYAML
Maintainers ['Lukas Fleischer <lfleischer@archlinux.org>', 'T.J. Townsend <blakkheim@archlinux.org>']
Contributors ['Michal Bozon <michal.bozon__at__gmail.com>', 'Sergej Pupykin <pupykin.s+arch@gmail.com>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/libyaml
Sources ['https://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz']
Dependencies ['glibc']
Optional-Dependencies []
Build-Dependencies []
Provides []
Builddate 12-07-2024 23:32:44
Architecture x86_64
Distro-Version
Licenses ['MIT']
Hash cd2385982a050dfce2ef0ac435b36e9574ece347bdf4ad016ee5ea78e30b4940
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Michal Bozon <michal.bozon__at__gmail.com>

pkgname=libyaml
pkgver=0.2.5
pkgrel=3
pkgdesc="YAML 1.1 library"
arch=('x86_64')
url="https://pyyaml.org/wiki/LibYAML"
license=('MIT')
depends=('glibc')
source=("https://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz")
sha512sums=('dadd7d8e0d88b5ebab005e5d521d56d541580198aa497370966b98c904586e642a1cd4f3881094eb57624f218d50db77417bbfd0ffdce50340f011e35e8c4c02')

build() {
  cd "$srcdir/yaml-$pkgver"
  ./configure --prefix=/usr
  make
}

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