# Maintainer: amesgen pkgname=coursier-native _pkgver=2.0.8 pkgver="${_pkgver//-/_}" pkgrel=1 pkgdesc="Pure Scala Artifact Fetching (native-image edition)" arch=("x86_64") url="http://get-coursier.io" license=("Apache") depends=("gcc-libs" "zlib") source=("coursier-$pkgver::https://github.com/coursier/coursier/releases/download/v$_pkgver/cs-x86_64-pc-linux") sha256sums=('8a47e0edda1ddf403537e0ccda5739e72d0c63f3529231bf6ea92e52bfc2b564') package() { install -Dm755 "coursier-$pkgver" "$pkgdir/usr/bin/cs" install -Dm644 <("$pkgdir/usr/bin/cs" --completions zsh) "$pkgdir/usr/share/zsh/site-functions/_cs" }