diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7f58eb9f34e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Slithery <aur at slithery dot uk> +# Maintainer: Zack Buhman <zbuhman@linode.com> +# Contributor: Graham Edgecombe <graham@grahamedgecombe.com> + +pkgname=linode-cli +pkgver=1.3.2 +pkgrel=2 +pkgdesc='A simple command-line interface to the Linode platform' +url='https://github.com/linode/cli' +license=('GPL2') +arch=('any') +depends=('perl-try-tiny' 'perl-libwww' 'perl-json' 'perl-crypt-ssleay' + 'perl-mozilla-ca' 'perl-webservice-linode') +makedepends=('git') +source=("$pkgname::git+https://github.com/linode/cli.git#tag=v$pkgver") +sha256sums=('SKIP') + +build() { + cd "$pkgname" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$pkgname" + make install DESTDIR="$pkgdir" +}
\ No newline at end of file |