# Maintainer: Natanael Copa pkgname=lua5.2 pkgver=5.2.4 _luaver=${pkgname#lua} pkgrel=13 pkgdesc="Powerful light-weight programming language" url="https://www.lua.org/" arch="all" license="MIT" ldpath="/usr/lib/$pkgname" makedepends="libtool autoconf automake" provides="lua" provider_priority=200 subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-libs" source="https://www.lua.org/ftp/lua-$pkgver.tar.gz lua-5.2-make.patch lua-5.2-module_paths.patch " builddir="$srcdir"/lua-$pkgver prepare() { default_prepare # disable readline sed -i -e '/#define LUA_USE_READLINE/d' src/luaconf.h # we use libtool cat >configure.ac < "$pkgdir"/usr/lib/pkgconfig/lua$_luaver.pc <