summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPawel Dzieciolowski2017-10-22 11:59:57 +0200
committerPawel Dzieciolowski2017-10-22 11:59:57 +0200
commita1d56d981ec1cc7ce7813597e624b6e398a9162d (patch)
treee7f61929688c88556fbdc211a030c054143122aa /PKGBUILD
parentc67b49cbc317ec974b44e570a63aa65cf063befc (diff)
downloadaur-a1d56d981ec1cc7ce7813597e624b6e398a9162d.tar.gz
update to 2.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 286c808191a..4b9f3a305a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,19 @@
# Maintainer: Pawel Dzieciolowski <dzieciolowski dot pawel at gmail com>
pkgname=kscript
-pkgver=1.6.0
+pkgver=2.0.1
pkgrel=1
pkgdesc='Enhanced scripting support for Kotlin on *nix-based systems'
arch=('any')
url='https://github.com/holgerbrandl/kscript'
-license=('custom')
+license=('MIT')
depends=('kotlin')
-_source_url="https://raw.githubusercontent.com/holgerbrandl/${pkgname}/v${pkgver}"
-source=("${_source_url}/kscript" "${_source_url}/README.md" "${_source_url}/LICENSE.txt")
-sha256sums=('fb43043a60be53f3d8e3cf93d173fb9119c87e9ba89e3b0cdb02029826149ccc'
- 'd1c0c387aa6f3781da1c84b567637fe889374068cb1efa838b1568d8e9570846'
- '9f17c220a84297bff2720e11849ab0eacfdb564f5e6b7f1e1d768619787bf2d9')
+source=("${pkgname}-${pkgver}.bin.zip::https://github.com/holgerbrandl/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-bin.zip")
+sha256sums=('e882c364f7a05df7e5836ca2644be49eab489dc3bdd51f7425d98c47dece3b1f')
package() {
- cd "${srcdir}"
+ cd "${srcdir}/${pkgname}-${pkgver}/bin"
install -Dm 755 kscript "${pkgdir}/usr/bin/kscript"
- install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
- install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+ install -Dm 644 kscript.jar "${pkgdir}/usr/bin/kscript.jar"
}