lua51: -devel only depends on self.

Only the lua binary depends on libreadline and ncurses, not the library,
so lua51-devel doesn't need to depend on their devel packages.
This commit is contained in:
Érico Nogueira 2021-05-18 23:49:10 -03:00 committed by Érico Nogueira Rolim
parent 7583a8af7e
commit 2daf6d12a3

View file

@ -1,7 +1,7 @@
# Template file for 'lua51'
pkgname=lua51
version=5.1.5
revision=12
revision=13
wrksrc="lua-${version}"
makedepends="ncurses-devel readline-devel"
short_desc="Powerful, fast, lightweight, embeddable scripting language (5.1.x)"
@ -52,7 +52,7 @@ do_install() {
}
lua51-devel_package() {
depends="${makedepends} lua51>=${version}_${revision}"
depends="lua51>=${version}_${revision}"
short_desc+=" - development files"
alternatives="
lua-devel:lua:/usr/share/doc/lua5.1