b8918e2a7d
+ Rename lua and lua-devel to lua52 and lua52-devel + Modify packages depending on lua52 accordingly: + Many packages auto-detect lua52 files + Some packages need hints where / how to find lua52 + One package (xmoto) downgraded to lua51, because it wouldn't find lua52 + One package (vim) upgraded to lua (5.3.1) There may be more packages upgradable without problems. I didn't want to change too much in this move without the respective package maintainers first taking a look. Most notably conky-cli wouldn't work with lua52. I upgraded it to 1.10.0 (same as conky) and tried to keep the flags the same for the change from gnu-configure to cmake.
22 lines
754 B
Bash
22 lines
754 B
Bash
# Template file for 'luaposix'
|
|
pkgname=luaposix
|
|
version=5.1.28
|
|
revision=5
|
|
lib32disabled=yes
|
|
wrksrc="${pkgname}-release-v${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--libdir=/usr/lib/lua/5.2 --datadir=/usr/share/lua/5.2"
|
|
hostmakedepends="perl lua52-devel"
|
|
makedepends="ncurses-devel lua52-devel"
|
|
depends="lua"
|
|
short_desc="A POSIX library for Lua programming language"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://luaforge.net/projects/luaposix/"
|
|
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
|
checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f
|
|
|
|
post_install() {
|
|
vmkdir usr/share/$pkgname/examples
|
|
vcopy "*.lua" usr/share/$pkgname/examples
|
|
}
|