Package Details: amuletml-bin 0.4.0.0-1

Git Clone URL: https://aur.archlinux.org/amuletml-bin.git (read-only, click to copy)
Package Base: amuletml-bin
Description: The Amulet programming language
Upstream URL: https://hydraz.semi.works/amulet/
Licenses: BSD
Conflicts: amuletml
Provides: amuletml
Submitter: hydraz
Maintainer: hydraz
Last Packager: hydraz
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-13 23:55 (UTC)
Last Updated: 2019-10-13 23:55 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

samhh commented on 2021-07-25 13:01 (UTC)

I couldn't get the install script (at its new URL) to work so I just rewrote the core of it directly in the PKGBUILD, here's a diff of I think a working 1.0.0.0:

diff --git a/PKGBUILD b/PKGBUILD
index c7ebc2a..4cc27a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,19 +7,19 @@
 pkgname=amuletml-bin
 provides=('amuletml')
 conflicts=('amuletml')
-pkgver=0.4.0.0
+pkgver=1.0.0.0
 pkgrel=1
 pkgdesc="The Amulet programming language"
 arch=(x86_64)
url="https://hydraz.semi.works/amulet/"
 license=('BSD')
-source=("https://hydraz.semi.works/amulet/install-amulet.sh")
-noextract=()
-md5sums=('73b8390cf7974c38dcfd850d7810f0c4')
-validpgpkeys=()
+source=("https://github.com/amuletml/amulet/releases/download/1.0.0.0/amuletml-1.0.0.0-bindist.tar")
+sha256sums=('c30c10d7607548db835ccc1e8f102602051ddfd05116c17dc203cd7cc5d10a46')

 package() {
-  env PREFIX=$pkgdir/usr/ bash install-amulet.sh
-  sed -re "s;exec $pkgdir/;exec /;g" -i $pkgdir/usr/bin/amc
-  sed -re "s;exec $pkgdir/;exec /;g" -i $pkgdir/usr/bin/amc-prove
+  cd "$srcdir"
+  rm -f install.sh .MTREE .PKGINFO
+  for file in $(find -type f); do
+    install -Dm755 "$file" "$pkgdir/$file"
+  done
 }

@hydraz Feel free to add me as a co-maintainer if you'd like.