Date: Wednesday, December 16, 2020 @ 21:37:01 Author: arodseth Revision: 777009
upgpkg: kotlin 1.4.21-1 Modified: kotlin/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-12-16 21:21:07 UTC (rev 777008) +++ PKGBUILD 2020-12-16 21:37:01 UTC (rev 777009) @@ -2,7 +2,7 @@ # Contributor: Romain Gautier <romain.gaut...@nimamoh.com> pkgname=kotlin -pkgver=1.4.20 +pkgver=1.4.21 pkgrel=1 pkgdesc='Statically typed programming language that can interoperate with Java' arch=(any) @@ -11,10 +11,10 @@ depends=('java-environment>=8') makedepends=(setconf) source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip") -sha256sums=('11db93a4d6789e3406c7f60b9f267eba26d6483dcd771eff9f85bb7e9837011f') +sha256sums=('46720991a716e90bfc0cf3f2c81b2bd735c14f4ea6a5064c488e04fd76e6b6c7') prepare() { - cd "${pkgname}c/bin" + cd ${pkgname}c/bin setconf kotlin DIR /usr/bin setconf kotlinc-js DIR /usr/bin @@ -23,7 +23,7 @@ } package() { - cd "${pkgname}c" + cd ${pkgname}c # executables install -Dm755 -t "$pkgdir/usr/bin" bin/kotlin @@ -48,9 +48,8 @@ done # build.txt must be installed for for "-version" to work - cd "$srcdir/${pkgname}c" + cd $srcdir/${pkgname}c install -Dm644 build.txt "$pkgdir/usr/share/$pkgname" } # getver: github.com/JetBrains/kotlin/releases/latest -# vim: ts=2 sw=2 et: