blob: db27fdf8f8d63406873671f586a43023ecae4ddc (
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 Koškár <http://mkoskar.com/>
pkgname='spring-boot-cli'
pkgver=2.0.3
_pkgver="$pkgver.RELEASE"
pkgrel=1
pkgdesc='Spring Boot CLI'
url='https://spring.io/projects/spring-boot'
license=(Apache)
arch=(any)
depends=(bash 'java-environment>=8')
source=("https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/$_pkgver/spring-boot-cli-$_pkgver-bin.tar.gz")
sha256sums=(5a4bf071ed6509f5d915091573d2c1494f86c8ea915153d5e93dfdcc5ba75a44)
package() {
cd "spring-$_pkgver"
install -d "$pkgdir/opt/$pkgname"
cp -dr --preserve=mode -t "$pkgdir/opt/$pkgname" bin lib legal
rm "$pkgdir/opt/$pkgname/bin/spring.bat"
install -d "$pkgdir/usr/bin"
ln -s "/opt/$pkgname/bin/spring" "$pkgdir/usr/bin/spring"
install -D -m644 -t "$pkgdir/usr/share/bash-completion/completions" shell-completion/bash/spring
install -D -m644 -t "$pkgdir/usr/share/zsh/site-functions" shell-completion/zsh/_spring
}
|