1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Luca P <meti at lplab.net>
5 pkgname=(lua52-luajson)
8 pkgdesc="JSON parser/encoder for Lua"
9 url="http://luaforge.net/projects/luajson/"
12 makedepends=(lua52-lpeg)
13 source=(https://github.com/harningt/$pkgbase/archive/$pkgver.tar.gz)
14 md5sums=('66ef8d00bcaeec91b25433a697090bc8')
16 package_lua52-luajson() {
21 make PREFIX=/usr DESTDIR="$pkgdir" \
22 INSTALL_LMOD='$(INSTALL_TOP)/share/lua/5.2' \
23 INSTALL_CMOD='$(INSTALL_TOP)/lib/lua/5.2' install
24 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE