From 5b39cc3e6e976ed12006751b93f2843b2344a3bc Mon Sep 17 00:00:00 2001 From: prez Date: Sat, 30 Apr 2022 23:18:08 +0200 Subject: [PATCH] New package: xmake-2.6.9 --- srcpkgs/xmake/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/xmake/template diff --git a/srcpkgs/xmake/template b/srcpkgs/xmake/template new file mode 100644 index 000000000000..8899acff1d3d --- /dev/null +++ b/srcpkgs/xmake/template @@ -0,0 +1,22 @@ +# Template file for 'xmake' +pkgname=xmake +version=2.6.9 +revision=1 +create_wrksrc=yes +build_style=gnu-makefile +make_build_args="BUILD_ARCH=${XBPS_TARGET_MACHINE}" +short_desc="Cross-platform build utility based on Lua" +maintainer="prez " +license="Apache-2.0" +homepage="https://xmake.io/" +distfiles="https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz" +checksum=68f2e7ef85db2841c707bb909ae4a5d058e8c1e4837c2a95b0bfefd56600ca83 + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends="libatomic-devel" + LDFLAGS="-latomic" +fi + +pre_build() { + export LD="$CC" +}