aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/lua-file_slurp/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/lua-file_slurp/APKBUILD b/testing/lua-file_slurp/APKBUILD
new file mode 100644
index 0000000000..7a1afb2642
--- /dev/null
+++ b/testing/lua-file_slurp/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+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"