diff options
author | Matheus Magalhães de Alcantara | 2019-10-13 20:54:39 -0300 |
---|---|---|
committer | Matheus Magalhães de Alcantara | 2019-10-13 20:55:12 -0300 |
commit | 46254c457e5ba0a3d1f6073d091d5f0d5c47cc05 (patch) | |
tree | 631d8d1521fe2792cd0736646abfbb76d09d0f2e | |
download | aur-46254c457e5ba0a3d1f6073d091d5f0d5c47cc05.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d5276fe75f8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = amuletml-bin + pkgdesc = The Amulet programming language + pkgver = 0.4.0.0 + pkgrel = 1 + url = https://hydraz.semi.works/amulet/ + arch = x86_64 + license = BSD + provides = amuletml + conflicts = amuletml + source = https://hydraz.semi.works/amulet/install-amulet.sh + md5sums = 73b8390cf7974c38dcfd850d7810f0c4 + +pkgname = amuletml-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c7ebc2a6766e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Matheus Magalhães de Alcantara <matheus.de.alcantara@gmail.com> +pkgname=amuletml-bin +provides=('amuletml') +conflicts=('amuletml') +pkgver=0.4.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=() + +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 +} |