### this file is sourced not run
PKGVER=1.6.3
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=lua-lfs-v1_6_3.tar.gz
MD5SUM=d0552c7e5a082f5bb2865af63fb9dc95
SRC_URL=https://github.com/keplerproject/luafilesystem/archive/v_1_6_3.tar.gz
BUNDLE= 

SLACKREQ='lua'
SLACKDESC="lua-lfs: lua-lfs $PKGVER (Lua File System library)  
lua-lfs:  
lua-lfs: LuaFileSystem is a Lua library developed to complement the set of 
lua-lfs: functions related to file systems offered by the standard Lua 
lua-lfs: distribution. LuaFileSystem offers a portable way to access the 
lua-lfs: underlying directory structure and file attributes.  
lua-lfs: 
lua-lfs: 
lua-lfs: 
lua-lfs: 
lua-lfs: http://keplerproject.github.io/luafilesystem/index.html
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### pkg_build
pkg_build() {
	cd /tmp/lua* &&
	make $MAKEFLAGS &&
	make PREFIX=/usr LUA_LIBDIR=/usr/lib64/lua/5.2 \
	     LUA_INC=/usr/include install &&
	mkdir -p /usr/share/doc/luafilesystem &&
	cp -a doc/* /usr/share/doc/luafilesystem &&
	pkg_build_slackdesc	
}

