updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / lua-etree / PKGBUILD
blob769ebfbf6df54e0cf89581a161ea21e603a1c465
1 # Contributor: Anders Bergh <anders1@gmail.com>
2 pkgname=lua-etree
3 pkgver=0.1.1
4 pkgrel=1
5 pkgdesc="A library that enables manipulation of XML documents in Lua"
6 arch=(i686 x86_64)
7 url="http://etree.luaforge.net"
8 license=('MIT')
9 depends=('lua' 'luaexpat')
10 # LuaForge URLs are stupid, so $pkgver is not enough here
11 source=(http://luaforge.net/frs/download.php/2152/etree-0.1.1.tar.gz)
12 md5sums=('848d6f4a4aadbaba6470a879bfc46094')
14 build() {
15   cd "$srcdir/etree-$pkgver"
17   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
19   make prefix="$pkgdir/usr" || return 1
20   make prefix="$pkgdir/usr" install || return 1