diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-07 15:48:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-07 15:48:42 +0000 |
commit | 362d0e1b2422ad492460ac3628f4cc6b3b6dfc46 (patch) | |
tree | 71da275b44ac32e35c044ca522019c0e4cc06fb0 | |
parent | 9d47853f73b5abe8c043e52fd97d629e14f67403 (diff) | |
download | aports-362d0e1b2422ad492460ac3628f4cc6b3b6dfc46.tar.bz2 aports-362d0e1b2422ad492460ac3628f4cc6b3b6dfc46.tar.xz |
testing/lua-file_slurp: new aport
Lua module for easily read/write entire files from/to a string
https://gist.github.com/1325400/
-rw-r--r-- | testing/lua-file_slurp/APKBUILD | 27 |
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 000000000..7a1afb264 --- /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" |