libyaml/PKGBUILD

31 lines
817 B
Bash
Raw Normal View History

2024-10-30 00:21:46 +08:00
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
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}
${CONFIGURE} --disable-static
make
}
package() {
cd ${pkgname#lib}-${pkgver}
make DESTDIR=${pkgdir} install
}