From e8982993314dce1a393ff1ac8e9277c4885867d6 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 29 May 2021 16:55:45 -0700 Subject: [PATCH] tolua: fix license The license is very poorly defined here. The only place that makes any comment towards that is the luadist dist.info file. My guess is the intent is for a CC0 or Public Domain type licensing but they didn't say so explicitly. --- srcpkgs/tolua/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/tolua/template b/srcpkgs/tolua/template index aa028830525..686665d1fe9 100644 --- a/srcpkgs/tolua/template +++ b/srcpkgs/tolua/template @@ -1,13 +1,13 @@ # Template file for 'tolua' pkgname=tolua version=5.2.0 -revision=2 +revision=3 build_style=cmake hostmakedepends="pkg-config" makedepends="lua52-devel" -short_desc="A tool that greatly simplifies the integration of C/C++ code with Lua" +short_desc="Tool that greatly simplifies the integration of C/C++ code with Lua" maintainer="Antonio Malcolm " -license="GPL-2" +license="custom:as-is" homepage="https://github.com/LuaDist/tolua" distfiles="${homepage}/archive/${version}.tar.gz" checksum=121ae6b6e1fb86d064e5994be5ef43ee2e20d2602f40e6ba48fa9de867ffc3d5 @@ -15,6 +15,10 @@ checksum=121ae6b6e1fb86d064e5994be5ef43ee2e20d2602f40e6ba48fa9de867ffc3d5 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2 -fPIC" nopie=yes +post_install() { + vlicense README +} + tolua-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"