1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
4 _project=$_rockname-lua
5 pkgname=("lua-$_rockname" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
9 pkgdesc='Lua interface to Unicode CLDR data'
11 url="https://github.com/alerque/$_project"
12 license=(MIT custom:ICU)
19 _archive="$_project-$pkgver"
20 source=("$_rockname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
21 sha256sums=('bf38132c274a35b500787668fd561302374c6687333ff8be0c6751ad35151399')
25 depends=("${pkgname%-*}" "${_luadeps[@]/#/${pkgname%-*}-}")
26 luarocks --lua-version="$1" --tree="$pkgdir/usr/" \
27 make --deps-mode=none --no-manifest "$_rockname-dev-$_rockrel.rockspec"
28 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE LICENSE-Unicode
35 package_lua51-cldr() {
39 package_lua52-cldr() {
43 package_lua53-cldr() {