blob: eeabbd0edf1732f1bc8a272444f0baa6a4fa5560 (
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
39
40
41
42
43
44
45
|
# Maintainer: Stefan Eekhof <stefaneekhof@gmail.com>
pkgname=cq
pkgver=1.0.0
_ccfgversion=1.0.0.A19
_aosutilverion=0.0.0.13 # Needed for CCFG
pkgrel=24
pkgdesc="CQ -- CCFG Command Line Inteface (Cyan Configurations)"
arch=( 'any' )
url=""
license=('GPL')
groups=()
depends=( 'java-environment' )
makedepends=( 'gradle>=7.0' )
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://aerialworks.ddns.net/ASF/Cyan.git" "https://aerialworks.ddns.net/maven/org/asf/aos/util/service/aosutil-service-SLIB-UTIL/$_aosutilverion/aosutil-service-SLIB-UTIL-$_aosutilverion.jar")
noextract=()
md5sums=('SKIP'
'c725e9bee57d6a63ce27b829cfa1a03e')
build() {
cd Cyan
cd CCFG
echo "rootProject.name = 'CCFG';" > settings.gradle
gradle jar
}
package() {
mkdir "$pkgdir/usr/lib/ccfg-cq-libs" -p
cp aosutil-service-SLIB-UTIL-$_aosutilverion.jar "$pkgdir/usr/lib/ccfg-cq-libs/aosutil-slib-util.jar"
cd Cyan/build/CCFG/Jars
cp CCFG-$_ccfgversion.jar "$pkgdir/usr/lib/ccfg-cq-libs/CCFG.jar"
cd ../../../CCFG/cq-script
mkdir -p "$pkgdir/usr/bin"
cp cq "$pkgdir/usr/bin"
chmod +x "$pkgdir/usr/bin/cq"
}
|