summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorbert Melzer2019-04-22 21:38:52 +0000
committerNorbert Melzer2019-04-22 21:38:52 +0000
commitf175632be1d8e14eb5ea12f6825f0fcf11113170 (patch)
tree64092df5e704b678ba4186417e59c24d76c1e387
downloadaur-f175632be1d8e14eb5ea12f6825f0fcf11113170.tar.gz
Automatic deploy\n\nCreated from gitlab.com/NobbZ/arch-gleam
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD45
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba1d1b9dcc4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gleam
+ pkgdesc = A statically typed language for the Erlang VM
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = http://alpaca-lang.org/
+ arch = any
+ license = Apache2
+ makedepends = rust
+ depends = erlang-nox
+ provides = gleam
+ options = strip
+ options = !docs
+ options = !libtool
+ options = !staticlibs
+ source = https://github.com/lpil/gleam/archive/v0.1.0.tar.gz
+ md5sums = 1ccf850e03ca2d967688b76d2e6d4ff2
+
+pkgname = gleam
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6112713d746
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Norbert Melzer <timmelzer PLUS aur AT gmail DOT com>
+
+pkgname=gleam
+pkgver="0.1.0"
+pkgrel=1
+pkgdesc="A statically typed language for the Erlang VM"
+arch=('any')
+url="http://alpaca-lang.org/"
+license=('Apache2')
+depends=('erlang-nox')
+makedepends=('rust')
+checkdepends=()
+optdepends=()
+provides=('gleam')
+conflicts=()
+replaces=()
+backup=()
+options=(strip !docs !libtool !staticlibs)
+install=
+changelog=
+source=("https://github.com/lpil/gleam/archive/v0.1.0.tar.gz")
+md5sums=('1ccf850e03ca2d967688b76d2e6d4ff2')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cd gleam;
+ cargo build --release
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ local basedir="${pkgdir}/usr/local/bin"
+
+ install -Dm755 "gleam/target/release/gleam" "${basedir}/gleam"
+}