Package Details: lua53-luatrace-git r143.d9d8918-3

Git Clone URL: https://aur.archlinux.org/lua-luatrace-git.git (read-only, click to copy)
Package Base: lua-luatrace-git
Description: luatrace for Lua 5.3
Upstream URL: https://github.com/geoffleyland/luatrace
Licenses: MIT
Conflicts: lua53-luatrace
Provides: lua53-luatrace
Submitter: jprjr
Maintainer: jprjr
Last Packager: jprjr
Votes: 0
Popularity: 0.000000
First Submitted: 2020-12-23 18:32 (UTC)
Last Updated: 2021-01-03 22:30 (UTC)

Latest Comments

jprjr commented on 2020-12-28 18:12 (UTC)

@alex.shpilkin thanks for the heads-up! Added your changed to the PKGBUILD, also specified conflicts/provides in case an official lua-luatrace package shows up.

alex.shpilkin commented on 2020-12-27 02:27 (UTC)

I was wrong about the jit directories, LuaJIT does (sometimes) look there. Sorry for the noise. The comment about the git dependency still applies.

alex.shpilkin commented on 2020-12-27 02:14 (UTC) (edited on 2020-12-27 02:26 (UTC) by alex.shpilkin)

The package is unbuildable in a clean chroot and does not depend on the Lua interpreter, please add git and lua* to makedepends and the appropriate version of lua to depends:

diff --git a/.SRCINFO b/.SRCINFO
index 2710304..c9c3f20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,15 @@
 pkgbase = lua-luatrace-git
    pkgver = r143.d9d8918
-   pkgrel = 1
+   pkgrel = 2
    url = https://github.com/geoffleyland/luatrace
    arch = x86_64
    arch = i686
    license = MIT
+   makedepends = git
+   makedepends = lua
+   makedepends = lua53
+   makedepends = lua52
+   makedepends = lua51
    source = git+https://github.com/geoffleyland/luatrace.git
    source = luatrace-compat.patch
    source = luatrace-updates.patch
@@ -16,13 +21,17 @@ pkgbase = lua-luatrace-git

 pkgname = lua-luatrace-git
    pkgdesc = luatrace for Lua 5.4
+   depends = lua

 pkgname = lua51-luatrace-git
    pkgdesc = luatrace for Lua 5.1
+   depends = lua51

 pkgname = lua52-luatrace-git
    pkgdesc = luatrace for Lua 5.2
+   depends = lua52

 pkgname = lua53-luatrace-git
    pkgdesc = luatrace for Lua 5.3
+   depends = lua53

diff --git a/PKGBUILD b/PKGBUILD
index 16b8e16..331f6ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,10 +3,11 @@
 pkgname=('lua-luatrace-git' 'lua51-luatrace-git' 'lua52-luatrace-git' 'lua53-luatrace-git')
 _pkgbase='luatrace'
 pkgver=r143.d9d8918
-pkgrel=1
+pkgrel=2
 arch=('x86_64' 'i686')
 url='https://github.com/geoffleyland/luatrace'
 license=('MIT')
+makedepends=('git' 'lua' 'lua53' 'lua52' 'lua51')
 source=('git+https://github.com/geoffleyland/luatrace.git'
 "${_pkgbase}-compat.patch"
 "${_pkgbase}-updates.patch"
@@ -52,6 +53,7 @@ build() {

 package_lua-luatrace-git() {
     pkgdesc="luatrace for Lua 5.4"
+    depends+=('lua')

     cd "${_pkgbase}"

@@ -74,6 +76,7 @@ package_lua-luatrace-git() {

 package_lua51-luatrace-git() {
     pkgdesc="luatrace for Lua 5.1"
+    depends+=('lua51')

     cd "${_pkgbase}"

@@ -95,6 +98,7 @@ package_lua51-luatrace-git() {

 package_lua52-luatrace-git() {
     pkgdesc="luatrace for Lua 5.2"
+    depends+=('lua52')

     cd "${_pkgbase}"

@@ -116,6 +120,7 @@ package_lua52-luatrace-git() {

 package_lua53-luatrace-git() {
     pkgdesc="luatrace for Lua 5.3"
+    depends+=('lua53')

     cd "${_pkgbase}"