blob: f2b81699a4daa5f2eaeb3a1f46fb06e79fc7b8a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Slithery <aur at slithery dot uk>
# Contributor: Zack Buhman <zbuhman@linode.com>
# Contributor: Graham Edgecombe <graham@grahamedgecombe.com>
pkgname=linode-cli
pkgver=1.4.6
pkgrel=1
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"
}
|