diff options
Diffstat (limited to 'unmaintained/lua-json/APKBUILD')
-rw-r--r-- | unmaintained/lua-json/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/unmaintained/lua-json/APKBUILD b/unmaintained/lua-json/APKBUILD new file mode 100644 index 0000000000..062b624aff --- /dev/null +++ b/unmaintained/lua-json/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=lua-json +pkgver=20140920.13 +pkgrel=1 +pkgdesc="Simple JSON encoding and decoding in pure Lua" +url="http://regex.info/blog/lua/json" +arch="noarch" +license="AS-IS" +depends="" +makedepends="lua-dev lua" +install="" +subpackages="" +source="http://dev.alpinelinux.org/archive/lua-json-20140920.13.tar.gz" +build() { + return 0 +} + +package() { + local _lmoddir=$(pkg-config --variable=INSTALL_LMOD lua) + install -Dm644 "$srcdir"/JSON.lua "${pkgdir}$_lmoddir"/JSON.lua +} + +md5sums="c083c14032cedecf7243d50d68b12538 lua-json-20140920.13.tar.gz" +sha256sums="e30a6efa30173a90d1bba1fadb25784030db3cc9b2540a6b49cc5ac678fd1cb7 lua-json-20140920.13.tar.gz" +sha512sums="bc5eebecbf2d6b27ecb4ca9a18f3d20c0b0d6a757968b8ccaffee52799b2228b4f8dc42271d261119e75db4843121c21891e6893fe93ff321be446a8e8e5be0d lua-json-20140920.13.tar.gz" |