diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/lua-filesystem/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/lua-filesystem/APKBUILD b/main/lua-filesystem/APKBUILD new file mode 100644 index 000000000..286408699 --- /dev/null +++ b/main/lua-filesystem/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-filesystem +pkgver=1.5.0 +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://github.com/downloads/keplerproject/luafilesystem/luafilesystem-$pkgver.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="3cf4882bbce956e7a0b010f148f194a3 luafilesystem-1.5.0.tar.gz" |