summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNorbert Melzer2019-04-22 21:38:52 +0000
committerNorbert Melzer2019-04-22 21:38:52 +0000
commitf175632be1d8e14eb5ea12f6825f0fcf11113170 (patch)
tree64092df5e704b678ba4186417e59c24d76c1e387 /PKGBUILD
downloadaur-f175632be1d8e14eb5ea12f6825f0fcf11113170.tar.gz
Automatic deploy\n\nCreated from gitlab.com/NobbZ/arch-gleam
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
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"
+}