void-packages/srcpkgs/luafilesystem/template

32 lines
934 B
Text
Raw Normal View History

2012-02-22 19:04:29 +00:00
# Template file for 'luafilesystem'
pkgname=luafilesystem
version=1.5.0
revision=1
2012-02-22 19:04:29 +00:00
build_style=gnu-makefile
makedepends="lua-devel"
2012-02-22 19:04:29 +00:00
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"
2012-02-22 19:04:29 +00:00
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
2012-02-22 19:04:29 +00:00
vinstall tests/test.lua 755 usr/share/examples/${pkgname}
}
luafilesystem_package() {
depends="lua"
pkg_install() {
vmove usr
}
}