archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libyaml / trunk / PKGBUILD
blob74b7ac27b7cc79aacf07b794d6d15e7629394e11
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=1
8 pkgdesc="YAML 1.1 library"
9 arch=('x86_64')
10 url="https://pyyaml.org/wiki/LibYAML"
11 license=('MIT')
12 source=("https://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz")
13 sha512sums=('dadd7d8e0d88b5ebab005e5d521d56d541580198aa497370966b98c904586e642a1cd4f3881094eb57624f218d50db77417bbfd0ffdce50340f011e35e8c4c02')
15 build() {
16   cd "$srcdir/yaml-$pkgver"
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "$srcdir/yaml-$pkgver"
23   make DESTDIR="$pkgdir" install
24   install -Dm644 License "$pkgdir/usr/share/licenses/$pkgname/LICENSE"