void-packages/srcpkgs/luafilesystem/template

32 lines
934 B
Plaintext

# Template file for 'luafilesystem'
pkgname=luafilesystem
version=1.5.0
revision=1
build_style=gnu-makefile
makedepends="lua-devel"
short_desc="File System Library for the Lua Programming Language"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
homepage="http://keplerproject.github.com/luafilesystem"
distfiles="https://github.com/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz"
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."
do_install() {
make PREFIX=${DESTDIR}/usr install
vinstall tests/test.lua 755 usr/share/examples/${pkgname}
}
luafilesystem_package() {
depends="lua"
pkg_install() {
vmove usr
}
}