void-packages/srcpkgs/lua52-MessagePack/template

21 lines
652 B
Bash

# Template file for 'lua52-MessagePack'
pkgname=lua52-MessagePack
version=0.5.2
revision=1
archs=noarch
wrksrc="${pkgname/52/}-${version}"
hostmakedepends="lua52"
makedepends="lua52"
depends="lua52>=5.2"
short_desc="Pure Lua implementation of msgpack.org"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="MIT"
homepage="https://framagit.org/fperrad/lua-MessagePack"
distfiles="${homepage}/-/archive/${version}/${wrksrc}.tar.gz"
checksum=e8285b1c574fca279e7ec8c09b49073ef48a13c4a12d8db920ca50be34b07394
replaces="lua-MessagePack>=0"
do_install() {
make PREFIX=/usr DESTDIR="${DESTDIR}" LUAVER=5.2 install
vlicense COPYRIGHT LICENSE
}