summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c93d494d3482badf384f31118c86688ed14df90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Pawel Dzieciolowski <dzieciolowski dot pawel at gmail com>

pkgname=kscript
pkgver=2.1.0
pkgrel=1
pkgdesc='Enhanced scripting support for Kotlin on *nix-based systems'
arch=('any')
url='https://github.com/holgerbrandl/kscript'
license=('MIT')
depends=('kotlin')
source=("${pkgname}-${pkgver}.bin.zip::https://github.com/holgerbrandl/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-bin.zip")
sha256sums=('aa7a55e4a0c498e6dfb9f81ec9a352fb4b38ae2e0b113a33879b5bfd1fcdf6e1')

package() {
    cd "${srcdir}/${pkgname}-${pkgver}/bin"

    install -Dm 755 kscript "${pkgdir}/usr/bin/kscript"
    install -Dm 644 kscript.jar "${pkgdir}/usr/bin/kscript.jar"
}