Skip to content

Commit

Permalink
pull in AUR spring-boot-cli 1.2.5-1 last updated 2015-07-13 as of 737…
Browse files Browse the repository at this point in the history
…08d18244ef54eb846c2822ec8e7e517bc2624
  • Loading branch information
jantman committed Sep 30, 2015
1 parent 187b62f commit a619a26
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spring-boot-cli/.SRCINFO
@@ -0,0 +1,13 @@
pkgbase = spring-boot-cli
pkgdesc = Spring Boot CLI
pkgver = 1.2.5
pkgrel = 1
url = http://docs.spring.io/spring-boot/docs/1.2.5.RELEASE/reference/html/getting-started-installing-spring-boot.html#getting-started-installing-the-cli
arch = any
license = Apache
depends = java-environment>=6
source = https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/1.2.5.RELEASE/spring-boot-cli-1.2.5.RELEASE-bin.tar.gz
md5sums = 36e363d1b182e43cbae34b775a90332a

pkgname = spring-boot-cli

28 changes: 28 additions & 0 deletions spring-boot-cli/PKGBUILD
@@ -0,0 +1,28 @@
# Maintainer: Miroslav Koskar (http://mkoskar.com/)

pkgname='spring-boot-cli'
pkgver='1.2.5'
_pkgver="$pkgver.RELEASE"
pkgrel=1
pkgdesc='Spring Boot CLI'
url='http://docs.spring.io/spring-boot/docs/1.2.5.RELEASE/reference/html/getting-started-installing-spring-boot.html#getting-started-installing-the-cli'
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=('36e363d1b182e43cbae34b775a90332a')

package() {
cd "$srcdir/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"
}

0 comments on commit a619a26

Please sign in to comment.