Created
November 6, 2015 12:51
-
-
Save rmorgans/f18b214fe0ece27bffbc to your computer and use it in GitHub Desktop.
arch linux flynn-cli PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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