1 # Contributor: Anders Bergh <anders1@gmail.com>
5 pkgdesc="A library that enables manipulation of XML documents in Lua"
7 url="http://etree.luaforge.net"
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')
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