blob: 2078d730c0e491b0b8dbf7f4bded9427f6984e49 (
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
|
# Maintainer: Jiri Pospisil <jiri@jpospisil.com>
pkgname=pkl
pkgver=0.27.1
pkgrel=1
pkgdesc='A configuration as code language with rich validation and tooling.'
arch=('x86_64')
url='https://pkl-lang.org'
license=('Apache')
depends=('glibc' 'zlib')
makedepends=('jdk-openjdk' 'git')
changelog=CHANGELOG
source=("https://github.com/apple/pkl/archive/refs/tags/$pkgver.tar.gz")
b2sums=('656dec65e6ff3ffc8e29de1989adbba6625e4ce028d287225c9678aaf639580f5b7ce550b8dfdaed45082b13dce9d0e0c1e2cce3f8f306fc20fe7f4276e314e3')
build() {
cd "$srcdir/pkl-$pkgver"
./gradlew --info --stacktrace -DreleaseBuild=true pkl-cli:linuxExecutableAmd64
}
package() {
cd "$srcdir/pkl-$pkgver"
install -Dm755 "pkl-cli/build/executable/pkl-linux-amd64" "$pkgdir/usr/bin/pkl"
}
|