void-packages/srcpkgs/lua52-MessagePack/template

24 lines
640 B
Bash

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