updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / lua-yaml / PKGBUILD
blobe3d8698b8ae90a59cebee0ebf3feb6c154928022
1 # Maintainer: Jordan Wade <jordan@jwade.net>
3 pkgname=lua-yaml
4 pkgver=0.2
5 pkgrel=2
6 pkgdesc="Lua bindings for YAML using the LibYAML library"
7 arch=('i686' 'x86_64')
8 url="http://yaml.luaforge.net/"
9 license=('MIT' 'custom')
10 depends=('lua' 'libyaml')
11 # URL doesn't change predictably with version number, so it's hardcoded
12 source=(http://luaforge.net/frs/download.php/4284/yaml-0.2.tar.gz
13         Makefile.patch)
14 md5sums=('18c25a2a6609b2862e3485952cf73634'
15          '59db514f6e03d751dfd4b8ced5534b78')
17 build() {
18   cd $srcdir/yaml-$pkgver
19   patch -p1 < ../Makefile.patch || return 1
20   make || return 1
21   make PREFIX=$pkgdir/usr install || return 1
22   install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
23   install -D -m644 LICENSE.LibYAML $pkgdir/usr/share/licenses/$pkgname/LICENSE.LibYAML