summaryrefslogtreecommitdiffstats
path: root/testing/lua-json/APKBUILD
blob: 426570b1f977941a6c35434369c328245ea8dc00 (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
# 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"