void-packages/srcpkgs/lua52-MessagePack/template

24 lines
640 B
Bash

# Template file for 'lua52-MessagePack'
pkgname=lua52-MessagePack
version=0.3.3
revision=2
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=40e86eacac87f4deaa566cdefaaa1ec6ca90ad14a9419805ea90d069736cfda6
replaces="lua-MessagePack>=0"
do_install() {
make PREFIX=/usr DESTDIR="${DESTDIR}" LUAVER=5.2 install
vlicense COPYRIGHT LICENSE
}