Skip to content

Instantly share code, notes, and snippets.

@rmorgans
Created Nov 6, 2015
Embed
What would you like to do?
arch linux flynn-cli PKGBUILD
pkgname=flynn-cli
pkgver=v20151104.1
pkgrel=1
pkgdesc="Flynn PaaS command-line interface"
url="https://flynn.io"
arch=('any')
license=(BSD)
pkgver() {
curl -sSL -A "Linux $arch" https://dl.flynn.io/cli -o $srcdir/flynn.gz
gunzip -f $srcdir/flynn.gz
chmod +x $srcdir/flynn
$srcdir/flynn --version
}
package() {
install -Dm755 "$srcdir/flynn" "$pkgdir/usr/bin/flynn"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment