aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-json/APKBUILD
blob: 545e74865e70a978076fb8f745f58ba78ada2ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-json
pkgver=20140418.11
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="1f6f748d0bc1b0caaa9d4d77183abe95  JSON.lua"
sha256sums="c2b84bab5a4666c8bf3a67d81c5862e0ff3d1ca68b41085bc387723f0f44bf05  JSON.lua"
sha512sums="d8b9099a3a9ad9ff7646d33cf69db9a3c0964365509a480541a8f496da24957e2ddb8eee1968ec52ea28ecd96ad812c1c47cf9cb5c8fa15a3bad2b291e439f3b  JSON.lua"