From 362d0e1b2422ad492460ac3628f4cc6b3b6dfc46 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 7 Nov 2011 15:48:42 +0000 Subject: testing/lua-file_slurp: new aport Lua module for easily read/write entire files from/to a string https://gist.github.com/1325400/ --- testing/lua-file_slurp/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/lua-file_slurp/APKBUILD (limited to 'testing/lua-file_slurp') diff --git a/testing/lua-file_slurp/APKBUILD b/testing/lua-file_slurp/APKBUILD new file mode 100644 index 000000000..7a1afb264 --- /dev/null +++ b/testing/lua-file_slurp/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=lua-file_slurp +pkgver=0.001001 +pkgrel=0 +pkgdesc="Lua module for easily read/write entire files from/to a string" +url="https://gist.github.com/1325400/" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="wget" +install="" +subpackages= +source="https://raw.github.com/gist/1325400/c6a64d8ad9605bcfdaa79d4cdadeb86e4c1d77ee/file_slurp.lua" + +_luasharedir=/usr/share/lua/5.1 +build() { + return 0 +} + +package() { + install -D "$srcdir"/file_slurp.lua \ + "$pkgdir"$_luasharedir/file_slurp.lua +} + +md5sums="2e9874a54acf600050c910c1bfa6841b file_slurp.lua" -- cgit v1.2.3