archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libyaml / repos / extra-x86_64 / PKGBUILD
blob146ab60151d2ed50d68652fe414e3fedb8c885c5
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Michal Bozon <michal.bozon__at__gmail.com>
5 pkgname=libyaml
6 pkgver=0.2.5
7 pkgrel=2
8 pkgdesc="YAML 1.1 library"
9 arch=('x86_64')
10 url="https://pyyaml.org/wiki/LibYAML"
11 license=('MIT')
12 depends=('glibc')
13 source=("https://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz")
14 sha512sums=('dadd7d8e0d88b5ebab005e5d521d56d541580198aa497370966b98c904586e642a1cd4f3881094eb57624f218d50db77417bbfd0ffdce50340f011e35e8c4c02')
16 build() {
17   cd "$srcdir/yaml-$pkgver"
18   ./configure --prefix=/usr
19   make
22 package() {
23   cd "$srcdir/yaml-$pkgver"
24   make DESTDIR="$pkgdir" install
25   install -Dm644 License "$pkgdir/usr/share/licenses/$pkgname/LICENSE"