diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-13 08:08:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-13 08:08:53 +0000 |
commit | ccd072553bebd1c0dbd733eeecd4ff3fedc4bc7c (patch) | |
tree | cf812f042c400f106978d7bd3bdc97c3ffde58bd /testing/lua-json | |
parent | 2f51a6d882c471a6864e2d53e1192f580b50fd5b (diff) | |
download | aports-ccd072553bebd1c0dbd733eeecd4ff3fedc4bc7c.tar.bz2 aports-ccd072553bebd1c0dbd733eeecd4ff3fedc4bc7c.tar.xz |
testing/lua-json: new aport
Simple JSON encoding and decoding in pure Lua
http://regex.info/blog/lua/json
Diffstat (limited to 'testing/lua-json')
-rw-r--r-- | testing/lua-json/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/lua-json/APKBUILD b/testing/lua-json/APKBUILD new file mode 100644 index 000000000..426570b1f --- /dev/null +++ b/testing/lua-json/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-json +pkgver=20111207.5 +pkgrel=0 +pkgdesc="Simple JSON encoding and decoding in pure Lua" +url="http://regex.info/blog/lua/json" +arch="noarch" +license="AS-IS" +depends="lua" +makedepends="lua-dev" +install="" +subpackages="" +source="http://regex.info/code/JSON.lua" + +build() { + return 0 +} + +package() { + local _lmoddir=$(pkg-config --variable=INSTALL_LMOD lua) + install -Dm644 "$srcdir"/JSON.lua "${pkgdir}$_lmoddir"/JSON.lua +} + +md5sums="8ccd1082b85e3e5dfc5182f0151d9685 JSON.lua" |