Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/lua-fun: new aport

From: Timo Teras <timo.teras_at_iki.fi>
Date: Tue, 1 Mar 2016 08:36:38 +0200

On Fri, 26 Feb 2016 04:16:41 -0500
Muh Muhten <muh.muhten_at_gmail.com> wrote:

> http://rtsisyk.github.io/luafun/
> "Lua Fun is a high-performance functional programming library for Lua
> designed with LuaJIT's trace compiler in mind."

Looks good... but see below.

> ---
> +_split() {
> + install_if="lua$1 $pkgname=$pkgver-r$pkgrel"
> + pkgdesc="$pkgdesc for Lua $1"
> +
> + cd "$_builddir"
> + install -Dm644 fun.lua "$subpkgdir/usr/share/lua/$1/fun.lua"
> || return 1 +}

It's the same file installed in three separate packages - just to
separate directory.

I wonder if we should ship this in some common folder. _at_ncopa Do we
have any shared lua path that would be usable in all lua versions?
Or should this be single package that provides all three files and just
ships symlinks/hardlinks?


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 01 2016 - 08:36:38 GMT