newt: fix license, other lint

This commit is contained in:
Colin Booth 2021-05-04 22:23:51 -07:00 committed by Đoàn Trần Công Danh
parent 7da3ec9fb8
commit 7d5882b0f5

View file

@ -1,13 +1,13 @@
# Template file for 'newt'
pkgname=newt
version=0.52.21
revision=3
revision=4
build_style=gnu-configure
hostmakedepends="python-devel python3-devel"
makedepends="slang-devel popt-devel python3-devel python-devel"
short_desc="Library for color text mode, widget based user interfaces"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3"
license="LGPL-2.0-only"
homepage="https://pagure.io/newt/"
distfiles="https://pagure.io/releases/newt/newt-${version}.tar.gz"
checksum=265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31
@ -24,14 +24,12 @@ newt-devel_package() {
}
newt-python_package() {
short_desc+=" - Python2 bindings"
pycompile_module="snake.py"
pkg_install() {
vmove usr/lib/python2*
}
}
newt-python3_package() {
short_desc+=" - Python3 bindings"
pycompile_module="snake.py"
pkg_install() {
vmove usr/lib/python3*
}