commit:     eecc2c0c04d912e1b20eddafd4a5bb131965d58e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 12:41:06 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 12:45:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eecc2c0c

app-dicts/sword-GerHfa2002: correct the licence, add postinst msg

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-dicts/sword-GerHfa2002/sword-GerHfa2002-1.1.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/app-dicts/sword-GerHfa2002/sword-GerHfa2002-1.1.ebuild 
b/app-dicts/sword-GerHfa2002/sword-GerHfa2002-1.1.ebuild
index c0564d5d3e0..219c4b21763 100644
--- a/app-dicts/sword-GerHfa2002/sword-GerHfa2002-1.1.ebuild
+++ b/app-dicts/sword-GerHfa2002/sword-GerHfa2002-1.1.ebuild
@@ -9,5 +9,16 @@ inherit sword-module
 
 DESCRIPTION="Hoffnung fuer alle - Die Bibel"
 HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=GerHfa2002";
-LICENSE="freedist"
+LICENSE="sword-GerHfa2002"
 KEYWORDS="~amd64 ~ppc ~x86"
+
+pkg_postinst() {
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               elog "This SWORD module is locked. If you haven't done so yet, 
please visit"
+               elog
+               elog 
"https://crosswire.org/sword/modules/registration/gerhfa2002.jsp";
+               elog "(in German only)"
+               elog
+               elog "for information about purchasing and installing an unlock 
key."
+       fi
+}

Reply via email to