lua53: -devel only depends on self.

Only the lua binary depends on libreadline and ncurses, not the library,
so lua53-devel doesn't need to depend on their devel packages.

The package has listed these dependencies explicitly for a long time (at
least before 2013), so it being there until today seems to be more of a
historical artifact then for an actual reason.

While we are here, remove ncurses-devel from makedepends, since it's no
longer used by the lua build system (this doesn't make a huge
difference, because readline-devel still pulls it in).

53
This commit is contained in:
Érico Nogueira 2021-05-18 23:46:49 -03:00 committed by Érico Nogueira Rolim
parent 8baff5dbd6
commit 2460f86706

View file

@ -1,9 +1,9 @@
# Template file for 'lua53' # Template file for 'lua53'
pkgname=lua53 pkgname=lua53
version=5.3.5 version=5.3.5
revision=6 revision=7
wrksrc=lua-${version} wrksrc=lua-${version}
makedepends="ncurses-devel readline-devel" makedepends="readline-devel"
short_desc="Powerful, fast, lightweight, embeddable scripting language (5.3.x)" short_desc="Powerful, fast, lightweight, embeddable scripting language (5.3.x)"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
license="MIT" license="MIT"
@ -58,7 +58,7 @@ do_install() {
} }
lua53-devel_package() { lua53-devel_package() {
depends="${makedepends} lua53>=${version}_${revision}" depends="lua53>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
alternatives=" alternatives="
lua-devel:lua:/usr/share/doc/lua5.3 lua-devel:lua:/usr/share/doc/lua5.3