python-serpent: fix LICENSE file

This commit is contained in:
Alessio Sergi 2018-08-07 00:53:20 +02:00
parent 8486d77f13
commit 7e30e221da
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-serpent'
pkgname=python-serpent
version=1.27
revision=1
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
@ -16,7 +16,6 @@ distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz"
checksum=6f8dc4317fb5b5a9629b5e518846bc9fee374b8171533726dc68df52b36ee912
post_install() {
head -n 4 setup.py | tail -n 3 > LICENSE
vlicense LICENSE
}
@ -27,5 +26,6 @@ python3-serpent_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}