30 lines
784 B
Bash
30 lines
784 B
Bash
# Template file for 'lutok'
|
|
pkgname=lutok
|
|
version=0.4
|
|
revision=6
|
|
build_style=gnu-configure
|
|
configure_args="--with-doxygen"
|
|
hostmakedepends="pkg-config doxygen"
|
|
makedepends="lua-devel"
|
|
short_desc="Lightweight C++ API for Lua"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/jmmv/lutok"
|
|
distfiles="${homepage}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=2cec51efa0c8d65ace8b21eaa08384b77abc5087b46e785f78de1c21fb754cd5
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
lutok-devel_package() {
|
|
depends="lua-devel lutok>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/doc
|
|
}
|
|
}
|