# Template file for 'lua52-MessagePack'
pkgname=lua52-MessagePack
version=0.5.1
revision=1
noarch=yes
wrksrc="${pkgname/52/}-${version}"
hostmakedepends="lua52"
makedepends="lua52"
depends="lua52>=5.2"
short_desc="A pure Lua implementation of msgpack.org"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="MIT"
homepage="https://github.com/fperrad/lua-MessagePack"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=f1ef69752cc7cbb8f8147be62b71017db1877021829eb10de57405c86fb0d2f9
replaces="lua-MessagePack>=0"

do_install() {
	make PREFIX=/usr DESTDIR="${DESTDIR}" LUAVER=5.2 install
	vlicense COPYRIGHT LICENSE
}


