Commit 88263282 authored by Vladimir's avatar Vladimir
Browse files

Initial commit

parents
pkgbase = cvmconfigurator-git
pkgdesc = A configuration utility for managing CVMEngine versions
pkgver = 0.5.4.r6.g81df217
pkgrel = 1
url = https://gitlab.com/cvmproject/cvmconfigurator
arch = any
makedepends = jdk11-openjdk
makedepends = git
depends = jre11-openjdk
optdepends = android-sdk-build-tools: Android support
optdepends = android-sdk-cmdline-tools-latest: Android support
optdepends = android-sdk-platform-tools: Android support
source = cvmconfigurator-git::git+https://gitlab.com/cvmproject/cvmconfigurator.git
source = cvmconfigurator
sha256sums = SKIP
sha256sums = SKIP
pkgname = cvmconfigurator-git
cvmconfigurator-git
*.tar.zst
# Maintainer: Vladimir Sandomirskii <complover116 at gmail dot com>
pkgname=cvmconfigurator-git
pkgver=0.5.4.r6.g81df217
pkgrel=1
pkgdesc="A configuration utility for managing CVMEngine versions"
arch=('any')
url="https://gitlab.com/cvmproject/cvmconfigurator"
license=()
groups=()
depends=("jre11-openjdk")
makedepends=("jdk11-openjdk" "git")
optdepends=(
"android-sdk-build-tools: Android support"
"android-sdk-cmdline-tools-latest: Android support"
"android-sdk-platform-tools: Android support"
)
provides=()
conflicts=()
replaces=()
backup=()
options=()
# install=
# changelog=
source=('cvmconfigurator-git::git+https://gitlab.com/cvmproject/cvmconfigurator.git' 'cvmconfigurator')
noextract=()
sha256sums=('SKIP' 'SKIP')
build() {
cd "$pkgname"
export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH"
./gradlew createProperties
./gradlew proguard
}
pkgver() {
cd "$pkgname"
git describe --tags --long | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH"
mkdir -p "$pkgdir"/usr/bin
install --mode=755 cvmconfigurator "$pkgdir"/usr/bin/cvmconfigurator
cd "$pkgname"
mv build/libs/*-mini.jar cvmconfigurator.jar
mkdir -p "$pkgdir"/usr/share/java/cvmconfigurator/
install cvmconfigurator.jar "$pkgdir"/usr/share/java/cvmconfigurator/cvmconfigurator.jar
}
#!/bin/sh
export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH"
exec /usr/lib/jvm/java-11-openjdk/bin/java -jar '/usr/share/java/cvmconfigurator/cvmconfigurator.jar' "$@"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment