summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab0cd7976e7af486e43101a9bc391a4a651b3785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: KEKE <KEKE_046@pku.edu.com>
_scalaver=2.12
pkgname=ammonite-scala$_scalaver
pkgver=2.4.1
pkgrel=1
_scalaverhort=${_scalaver//./}
epoch=
pkgdesc="ammonite with scala $_scalaver"
arch=('x86_64')
url="https://github.com/com-lihaoyi/Ammonite"
license=('MIT')
groups=("ammonite-scala")
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("amm-$_scalaverhort::https://github.com/com-lihaoyi/Ammonite/releases/download/$pkgver/$_scalaver-$pkgver")
noextract=("amm-$_scalaverhort")
md5sums=("e001eeea6fdb38f08c36d9990fea3d42")
validpgpkeys=()

package() {
    mkdir $pkgdir/usr/bin -p
	cp $srcdir/amm-$_scalaverhort $pkgdir/usr/bin/amm-$_scalaverhort
    chmod +x $pkgdir/usr/bin/amm-$_scalaverhort
}