# Contributor: Lucas Hermann Negri pkgname=luaexpat pkgver=1.2.0 pkgrel=1 pkgdesc='LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is free software and uses the same license as Lua 5.0.' arch=('i686' 'x86_64') url='http://code.matthewwild.co.uk/lua-expat' license=('MIT') makedepends=('gcc' 'lua>=5.1' 'expat>=2') depends=('lua' 'expat') source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz" 'newconfig') md5sums=('03efe50c7f30a34580701e6527d7bfee' 'b89a09379d3e46e6496255e44cecc316') build() { cd $startdir/src/ mv newconfig $pkgname-$pkgver/config cd $pkgname-$pkgver make } package() { cd $startdir/src/$pkgname-$pkgver make DESTDIR=$startdir/pkg install mv usr $startdir/pkg }