From 482d661cf287d6b7d42b15e0245eab69013e122b Mon Sep 17 00:00:00 2001 From: maxice8 <30738253+maxice8@users.noreply.github.com> Date: Thu, 19 Oct 2017 15:01:10 -0200 Subject: [PATCH] python-polib: add missing license. (#8335) --- srcpkgs/python-polib/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-polib/template b/srcpkgs/python-polib/template index d8c56a5858b..19f877936ef 100644 --- a/srcpkgs/python-polib/template +++ b/srcpkgs/python-polib/template @@ -1,7 +1,7 @@ # Template file for 'python-polib' pkgname=python-polib version=1.0.8 -revision=2 +revision=3 noarch=yes wrksrc="polib-${version}" build_style=python-module @@ -15,6 +15,10 @@ license="MIT" distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz" checksum=5affe3d915eb5b4773f4ce164817e383eea0306115cdaf9b64008b3aea8202df +post_install() { + vlicense LICENSE +} + python3-polib_package() { noarch=yes depends="python3" @@ -23,6 +27,7 @@ python3-polib_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* + vlicense LICENSE } } python3.4-polib_package() {