# Template file for 'lua52-MessagePack'
pkgname=lua52-MessagePack
version=0.3.4
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=4ab743587af7b3c53384ca92a68df6ec78289d9a65b226e4aeb98984b76202ab
replaces="lua-MessagePack>=0"

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


