Commit d7f917ef authored by Natanael Copa's avatar Natanael Copa

testing/lua5.2-filesystem: merged with lua-filesystem package

parent 15f1b80a
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.2
pkgname=lua${_luaver}-filesystem
pkgver=1.6.2
pkgrel=0
pkgdesc="functions related to file systems for Lua $_luaver"
url="http://www.keplerproject.org/luafilesystem/"
arch="all"
license="GPL"
depends=
makedepends="lua${_luaver}-dev"
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 CFLAGS="$CFLAGS $( pkg-config lua${_luaver} --cflags ) -fPIC" \
|| return 1
}
package() {
cd "$_builddir"
make LUA_LIBDIR="$pkgdir"/usr/lib/lua/${_luaver} install
}
md5sums="4e7ec93678c760c4e42cea7d28aafa13 luafilesystem-1.6.2.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment