Package Details: moonbit-bin 0.1.202501210-1

Git Clone URL: https://aur.archlinux.org/moonbit-bin.git (read-only, click to copy)
Package Base: moonbit-bin
Description: Intelligent developer platform for Cloud and Edge using WASM
Upstream URL: https://www.moonbitlang.com/
Licenses: unknown
Conflicts: moonbit
Provides: moonbit
Submitter: tonyfettes
Maintainer: Lampese
Last Packager: Lampese
Votes: 2
Popularity: 0.001905
First Submitted: 2023-09-24 12:36 (UTC)
Last Updated: 2025-01-21 10:24 (UTC)

Latest Comments

DawnMagnet commented on 2025-01-03 07:51 (UTC)

something wrong in the PKGBUILD, I make a fix(to the bin folder)

pkgname=moonbit-bin
pkgver=0.1.20241231.20241231
pkgrel=1
pkgdesc="Intelligent developer platform for Cloud and Edge using WASM"
arch=('x86_64')
url="https://www.moonbitlang.com/"
license=('unknown')
depends=('tar' 'glibc' 'gcc-libs' 'git')
provides=("moonbit")
conflicts=("moonbit")
options=('!debug')
_origin="https://cli.moonbitlang.com"
source=("https://cli.moonbitlang.cn/binaries/latest/moonbit-linux-x86_64.tar.gz"
        "https://cli.moonbitlang.cn/cores/core-latest.tar.gz"
        "moon.sh")
sha512sums=("SKIP"
            "SKIP"
            "SKIP")

pkgver() {
  cd "${srcdir}/bin"
  chmod +x moon
  ./moon version | grep 'moon ' | sed -E 's/moon ([0-9.]+) \((\w+) ([0-9]{4})-([0-9]{2})-([0-9]{2})\)/\1.\3\4\5/g'
}

package() {
  install -Dm 755 "${srcdir}/bin/moon"     "${pkgdir}/usr/lib/moon"
  install -Dm 755 "${srcdir}/moon.sh"  "${pkgdir}/usr/bin/moon"
  install -Dm 755 "${srcdir}/bin/moonc"    "${pkgdir}/usr/bin/moonc"
  install -Dm 755 "${srcdir}/bin/moondoc"  "${pkgdir}/usr/bin/moondoc"
  install -Dm 755 "${srcdir}/bin/moonfmt"  "${pkgdir}/usr/bin/moonfmt"
  install -Dm 755 "${srcdir}/bin/moonrun"  "${pkgdir}/usr/bin/moonrun"
  mkdir -p "${pkgdir}/usr/share/moonbit/lib"
  cp -r "${srcdir}/core" "${pkgdir}/usr/share/moonbit/lib/"
}

tonyfettes commented on 2024-03-09 01:55 (UTC)

@Lampese

Updated. 感谢提醒!

Lampese commented on 2024-03-08 18:27 (UTC)

验证 source 时 moon 这个文件过不去 sha256,可以 check 一下吗