Skip to content

Instantly share code, notes, and snippets.

@bamorim
Created November 11, 2020 01:37
Show Gist options
  • Save bamorim/81949d1327d726e97d28d2e600e6aaba to your computer and use it in GitHub Desktop.
Save bamorim/81949d1327d726e97d28d2e600e6aaba to your computer and use it in GitHub Desktop.
# Maintainer: Bernardo Amorim
pkgname=crd2pulumi-bin
_pkgname=crd2pulumi
pkgver=1.0.5
pkgrel=1
pkgdesc='Generate typed CustomResources based on Kubernetes CustomResourceDefinitions.'
arch=('x86_64')
url='https://github.com/pulumi/crd2pulumi'
license=('APACHE')
provides=('crd2pulumi')
conflicts=('crd2pulumi')
options=('!strip')
source=("https://github.com/pulumi/$_pkgname/releases/download/v$pkgver/$_pkgname-v$pkgver-linux-amd64.tar.gz")
sha256sums=('c43fee2a38e920c3826dbe48c71c22f931aea91fbfbd6436aed39d6bb45b771f')
package() {
cd "$srcdir"
install -Dm755 crd2pulumi \
"${pkgdir}/usr/bin/${_pkgname}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment