blob: 8070c3a05615c9d53905061d4a1f0647de5693c3 (
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
|
# Maintainer: Guillaume ALAUX <guillaume at alaux dot net>
pkgname=lightbend-activator
pkgver=1.3.12
pkgrel=1
pkgdesc="Lightbend Reactive Platform's build and tutorial tool"
arch=('any')
url='http://www.lightbend.com/community/core-tools/activator-and-sbt'
license=('custom')
depends=('java-environment')
replaces=('typesafe-activator')
conflicts=('typesafe-activator')
source=(https://downloads.typesafe.com/typesafe-activator/${pkgver}/typesafe-activator-${pkgver}-minimal.zip)
sha256sums=('d5037bcc2793011a03807a123035d2b3dafde32bcf0fab9112cb958a59ad9386')
package() {
cd "activator-${pkgver}-minimal"
install -D -m 644 \
"libexec/activator-launch-${pkgver}.jar" \
"${pkgdir}/usr/share/${pkgname}/libexec/activator-launch-${pkgver}.jar"
install -D -m 755 \
"bin/activator" \
"${pkgdir}/usr/share/${pkgname}/bin/activator"
install -d -m 755 "${pkgdir}/usr/bin/"
ln -s \
/usr/share/${pkgname}/bin/activator \
"${pkgdir}/usr/bin/activator"
}
|