Package Details: xmake-git 2.8.3.r121-1

Git Clone URL: https://aur.archlinux.org/xmake-git.git (read-only, click to copy)
Package Base: xmake-git
Description: A make-like build utility based on Lua
Upstream URL: http://xmake.io
Keywords: buildtool cross-platform lua make
Licenses: Apache
Conflicts: xmake
Provides: xmake
Submitter: 71e6fd52
Maintainer: romch007
Last Packager: romch007
Votes: 2
Popularity: 0.000000
First Submitted: 2017-05-30 06:38 (UTC)
Last Updated: 2023-10-20 07:42 (UTC)

Latest Comments

mikezackles commented on 2023-10-19 23:03 (UTC)

This fixes the build due to git's new policy regarding submodule clones via file protocol. It also modifies the build step to match the package in extra since the old way no longer appears to work.

diff --git a/.SRCINFO b/.SRCINFO
index 37e1239..c14b314 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
 pkgbase = xmake-git
        pkgdesc = A make-like build utility based on Lua
-       pkgver = 2.6.5.r79
+       pkgver = 2.8.3.r121
        pkgrel = 1
        url = http://xmake.io
        arch = i686
        arch = x86_64
        license = Apache
        makedepends = git
-       provides = xmake=2.6.5.r79
+       provides = xmake=2.8.3.r121
        conflicts = xmake
        source = git+https://github.com/xmake-io/xmake.git
        source = git+https://github.com/xmake-io/xmake-core-lua-cjson.git
diff --git a/PKGBUILD b/PKGBUILD
index 3ecd6a5..bb06876 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Romain Chardiny <romain.chardiny@gmail.com>
 _basename=xmake
 pkgname=${_basename}-git
-pkgver=2.6.5.r79
+pkgver=2.8.3.r121
 pkgrel=1
 pkgdesc='A make-like build utility based on Lua'
 arch=('i686' 'x86_64')
@@ -39,13 +39,15 @@ prepare()
   git config submodule.core/src/sv/sv.url "$srcdir/xmake-core-sv"
   git config submodule.core/src/lz4/lz4.url "$srcdir/xmake-core-lz4"
   git config submodule.core/src/tbox/tbox.url "$srcdir/tbox"
+  export GIT_ALLOW_PROTOCOL=file
   git submodule update
 }

 build()
 {
   cd "${srcdir}/${_basename}"
-  make build CC=gcc LD=gcc
+  ./configure
+  make
 }

 package()