lua54: move lua-doc alternative to devel

This commit is contained in:
Đoàn Trần Công Danh 2020-10-30 08:01:47 +07:00
parent 8d7c71ff77
commit 783b30eb2e
1 changed files with 2 additions and 2 deletions

View File

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