summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: edb49d1064a935b2193fec4f83921edb281a0a5f (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
# Maintainer: TeSSLa Community <info@tessla.io>
pkgname=tessla
pkgver=2.1.0
pkgrel=1
pkgdesc="TeSSLa toolchain bundle"
arch=(any)
url=https://tessla.io
depends=('java-runtime>=11')
optdepends=()
makedepends=()
license=(Apache)
noextract=("tessla-${pkgver}.jar")
source=(
	"tessla-${pkgver}.jar"::"https://git.tessla.io/tessla/tessla/builds/artifacts/master/raw/target/scala-3.3.1/tessla-assembly-${pkgver}.jar?job=deploy"
	"tessla")
sha256sums=(
	'400d8e2d9814cc393a3664bb4073884c39bbab3fe7b733657563d7ea9b45126b'
	'2d9931705d32832b11aaee1ed212f53bc62da1266ddd7db010e63861eb3c55c1')

package() {
	# Install tessla.jar in /usr/share/java/
	install -Dm 644 "${srcdir}/tessla-${pkgver}.jar" "${pkgdir}/usr/share/java/tessla.jar"
	# Install runner script in /usr/bin/
	install -Dm 755 "${srcdir}/tessla" "${pkgdir}/usr/bin/tessla"
}