diff options
Diffstat (limited to 'testing/lua-filesystem/APKBUILD')
-rw-r--r-- | testing/lua-filesystem/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/lua-filesystem/APKBUILD b/testing/lua-filesystem/APKBUILD new file mode 100644 index 0000000000..cf07eb5ad4 --- /dev/null +++ b/testing/lua-filesystem/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: +# Maintainer: +pkgname=lua-filesystem +pkgver=1.4.2 +pkgrel=0 +pkgdesc="Lua library to complement the set of functions related to file systems" +url="http://www.keplerproject.org/luafilesystem/" +license="GPL" +depends= +makedepends="lua-dev" +install= +subpackages= +source="http://luaforge.net/frs/download.php/3931/luafilesystem-1.4.2.tar.gz" + +_builddir="$srcdir"/luafilesystem-$pkgver +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install +} + +md5sums="8e7b2a9b899d669280456d0f95afd961 luafilesystem-1.4.2.tar.gz" |