pkgname=libyaml pkgver=0.2.5 pkgrel=1 pkgdesc="YAML 1.1 library" arch=('x86_64') url="https://pyyaml.org/wiki/LibYAML" license=('MIT') depends=('glibc') source=(https://github.com/yaml/libyaml/releases/download/${pkgver}/${pkgname#lib}-${pkgver}.tar.gz) sha256sums=(c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4) build() { cd ${pkgname#lib}-${pkgver} local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname#lib}-${pkgver} make DESTDIR=${pkgdir} install }