# Maintainer: Natanael Copa pkgname=lua-filesystem pkgver=1.6.2 pkgrel=0 pkgdesc="Lua library to complement the set of functions related to file systems" url="http://www.keplerproject.org/luafilesystem/" arch="all" license="GPL" depends= makedepends="lua-dev wget" install= subpackages= source="https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-$pkgver.tar.gz" _builddir="$srcdir"/luafilesystem-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" make LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install } md5sums="4e7ec93678c760c4e42cea7d28aafa13 luafilesystem-1.6.2.tar.gz"