blob: 70d3a468cb3e537926e904d9fd2fdf4323f83671 (
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
30
31
32
33
34
35
36
37
38
|
# Maintainer: Stefan Eekhof <stefaneekhof@gmail.com>
pkgname=connective-https
pkgver=1.0.0
pkgrel=6
pkgdesc="HTTPS support module for connective servers (requires a keystore.jks file and keystore.jks.password text file in /etc/connective-http)"
arch=( 'any' )
url=""
license=('LGPL3')
groups=( "connective-server" )
depends=( 'jdk17-openjdk' 'connective-http' )
makedepends=( 'gradle>=6.7' 'cq' )
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=main.install
changelog=
source=("git+https://aerialworks.ddns.net/ASF/ConnectiveHTTPS.git")
noextract=()
md5sums=('SKIP')
build() {
cd ConnectiveHTTPS
chmod +x gradlew createlocalserver.sh
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
./createlocalserver.sh
gradle build
}
package() {
cd ConnectiveHTTPS
mkdir -p "$pkgdir/usr/lib/connective-https"
mv build/libs/ConnectiveHTTPS-*.jar "$pkgdir/usr/lib/connective-https/ConnectiveHTTPS.jar"
}
|