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