lua52: move lua-doc alternatives to devel

This commit is contained in:
Đoàn Trần Công Danh 2020-10-30 07:58:12 +07:00
parent a56a2af9ca
commit 2bd65bec97

View file

@ -1,7 +1,7 @@
# Template file for 'lua52'
pkgname=lua52
version=5.2.4
revision=10
revision=11
wrksrc=lua-${version}
makedepends="ncurses-devel readline-devel"
short_desc="Powerful, fast, lightweight, embeddable scripting language (5.2.x)"
@ -16,7 +16,6 @@ alternatives="
lua:luac:/usr/bin/luac5.2
lua:lua.1:/usr/share/man/man1/lua5.2.1
lua:luac.1:/usr/share/man/man1/luac5.2.1
lua:lua:/usr/share/doc/lua5.2
"
do_build() {
@ -56,6 +55,7 @@ lua52-devel_package() {
depends="${makedepends} lua52>=${version}_${revision}"
short_desc+=" - development files"
alternatives="
lua-devel:lua:/usr/share/doc/lua5.2
lua-devel:lua.pc:/usr/lib/pkgconfig/lua5.2.pc
"
pkg_install() {