diff --git a/srcpkgs/luafilesystem/luafilesystem.rshlibs b/srcpkgs/luafilesystem/luafilesystem.rshlibs new file mode 100644 index 00000000000..631aa1dda40 --- /dev/null +++ b/srcpkgs/luafilesystem/luafilesystem.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/luafilesystem/template b/srcpkgs/luafilesystem/template new file mode 100644 index 00000000000..e29a132ad3e --- /dev/null +++ b/srcpkgs/luafilesystem/template @@ -0,0 +1,24 @@ +# Template file for 'luafilesystem' +pkgname=luafilesystem +version=1.5.0 +homepage="http://keplerproject.github.com/luafilesystem" +distfiles="https://github.com/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu-makefile +make_install_args="PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}/usr" +short_desc="File System Library for the Lua Programming Language" +maintainer="davehome " +license="MIT" +checksum=00f6e1dc1e1da7f0fa77e375f0a04908ec4241a4c5e8d98031614f4a4a50c7cb +long_desc=" + LuaFileSystem is a Lua library developed to complement the set of functions + related to file systems offered by the standard Lua distribution. + + LuaFileSystem offers a portable way to access the underlying directory + structure and file attributes." + +Add_dependency run lua +Add_dependency build lua-devel + +post_install() { + vinstall tests/test.lua 755 usr/share/examples/${pkgname} +}