Date: Saturday, December 24, 2022 @ 08:49:13
Author: alerque
Revision: 1365373
archrelease: copy trunk to community-x86_64
Added:
xmake/repos/community-x86_64/
xmake/repos/community-x86_64/PKGBUILD
(from rev 1365372, xmake/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: xmake/repos/community-x86_64/PKGBUILD (from rev 1365372,
xmake/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2022-12-24 08:49:13 UTC (rev 1365373)
@@ -0,0 +1,28 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: <[email protected]>
+# Contributor: lumpyzhu <[email protected]>
+
+pkgname=xmake
+pkgver=2.7.4
+pkgrel=1
+pkgdesc='A cross-platform build utility based on Lua'
+arch=(x86_64 i686 aarch64)
+url="https://github.com/xmake-io/$pkgname"
+license=(Apache)
+makedepends=(ncurses
+ readline)
+_archive="$pkgname-v$pkgver"
+source=("$url/releases/download/v$pkgver/$_archive.tar.gz")
+sha256sums=('d490ff8825fa53fe5abfb549310cb54a2dfef1ebd3f82e24548483772994e06a')
+
+# WARNING: Source tarball does not have any top level diretory!
+
+build() {
+ # cd "$_archive"
+ make build
+}
+
+package() {
+ # cd "$_archive"
+ make install DESTDIR="$pkgdir" PREFIX="/usr"
+}