summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Roest2020-12-24 12:54:10 +0100
committerVictor Roest2020-12-24 12:54:10 +0100
commit4376dc7378ac8981ebe1378e885651136d61b7d4 (patch)
treed0252800f628ef65f5abf68ce5d658361bb11713
downloadaur-4376dc7378ac8981ebe1378e885651136d61b7d4.tar.gz
Initial release
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..53183074f8a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = hamler-bin
+ pkgdesc = Haskell-style functional programming language running on Erlang VM.
+ pkgver = 0.2.2
+ pkgrel = 1
+ url = https://www.hamler-lang.org/
+ arch = x86_64
+ license = BSD
+ depends = ncurses5-compat-libs
+ provides = hamler
+ source = https://github.com/hamler-lang/hamler/releases/download/0.2.2/hamler-0.2.2.tgz
+ sha256sums = 9e90297c2cd6de4d10b51cc229b66192eb755d58fa378a91045f639d0725fae9
+
+pkgname = hamler-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d3fe8e33a2f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+pkgname=hamler-bin
+_pkgname=hamler
+pkgver=0.2.2
+pkgrel=1
+pkgdesc='Haskell-style functional programming language running on Erlang VM.'
+arch=(x86_64)
+url='https://www.hamler-lang.org/'
+license=('BSD')
+source=("https://github.com/hamler-lang/hamler/releases/download/${pkgver}/${_pkgname}-${pkgver}.tgz")
+sha256sums=('9e90297c2cd6de4d10b51cc229b66192eb755d58fa378a91045f639d0725fae9')
+provides=('hamler')
+depends=('ncurses5-compat-libs')
+
+package() {
+ mkdir -p "$pkgdir/usr/"{lib,bin}
+ cp -r "$srcdir/${_pkgname}" "$pkgdir/usr/lib/"
+ ln -sr "$pkgdir/usr/lib/hamler/bin/hamler" "$pkgdir/usr/bin/hamler"
+}
+