summaryrefslogtreecommitdiff
path: root/community/libyaml/PKGBUILD
blob: 39e2f5acc052ff78fd087b8971fcec9fed4ee89b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 105278 2014-02-04 12:27:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Michal Bozon <michal.bozon__at__gmail.com>

pkgname=libyaml
pkgver=0.1.5
pkgrel=1
pkgdesc="YAML 1.1 library"
arch=('i686' 'x86_64' 'mips64el')
url="http://pyyaml.org/wiki/LibYAML"
license=('MIT')
source=(http://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz)
md5sums=('24f6093c1e840ca5df2eb09291a1dbf1')

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

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