diff options
author | Thayne McCombs | 2018-11-20 21:21:25 -0700 |
---|---|---|
committer | Thayne McCombs | 2018-11-20 21:21:25 -0700 |
commit | 1898e10cce569488acae146e2dc2c15a879dbb30 (patch) | |
tree | d4815e1ee81709d219ce77ce3c16e2dc6db9711c | |
parent | 193820a2a80f0eb152b4d5f1829136db24b8c177 (diff) | |
download | aur-1898e10cce569488acae146e2dc2c15a879dbb30.tar.gz |
Add shebang line
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = ammonite pkgdesc = A cleanroom re-implementation of the Scala REPL from first principles. pkgver = 1.4.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lihaoyi/Ammonite install = ammonite.install arch = any @@ -2,7 +2,7 @@ # Contributor: wenLiangcan <boxeed at gmail dot com> pkgname=ammonite pkgver=1.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="A cleanroom re-implementation of the Scala REPL from first principles. " arch=('any') url="https://github.com/lihaoyi/Ammonite" @@ -16,7 +16,12 @@ sha256sums=('9378d6188b8fca3b47890bc10a5d7e654faeca62b38ae93c73a05cf230808e1d' '90320c4bcccf8df57cc5d6f7b0b1778231ae87c64fe5405bae45af4ff9f87e8e') install="${pkgname}.install" +prepare() { + echo '#!/bin/sh' > "$srcdir/amm" + cat "ammonite-repl-${pkgver}" >> "$srcdir/amm" +} + package() { - install -Dm755 "ammonite-repl-${pkgver}" "${pkgdir}/usr/bin/amm" + install -Dm755 "$srcdir/amm" "${pkgdir}/usr/bin/amm" install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |