blob: 5aa0a7e340587a6421637845213bc1f6de82b510 (
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
|
# Maintainer: Miroslav Koskar <http://mkoskar.com/>
pkgname='spring-boot-cli'
pkgver='1.5.4'
_pkgver="$pkgver.RELEASE"
pkgrel=1
pkgdesc='Spring Boot CLI'
url='http://projects.spring.io/spring-boot/'
license=('Apache')
arch=('any')
depends=('java-environment>=6')
source=("https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/$_pkgver/spring-boot-cli-$_pkgver-bin.tar.gz")
md5sums=('de8714045f6fe22af76a27885272e0cd')
package() {
cd "spring-$_pkgver"
mkdir -p "$pkgdir/opt/$pkgname"
cp -a bin lib legal "$pkgdir/opt/$pkgname"
rm "$pkgdir/opt/$pkgname/bin/spring.bat"
mkdir -p "$pkgdir/usr/bin"
ln -s "/opt/$pkgname/bin/spring" "$pkgdir/usr/bin/spring"
install -D -m 644 shell-completion/bash/spring "$pkgdir/usr/share/bash-completion/completions/spring"
install -D -m 644 shell-completion/zsh/_spring "$pkgdir/usr/share/zsh/site-functions/_spring"
}
|