blob: b9cce1b7206d13f32bc7281fde973bbd2e9108bc (
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
28
29
30
31
32
33
34
35
|
# Maintainer: Jerry Stevens <sammynx at gmx dot com>
pkgname=cloudman
pkgver=0.1.7
pkgrel=1
pkgdesc="A textual user interface (heavily inspired by htop) to manage your Amazon EC2 fleet"
arch=('x86_64')
url="https://github.com/dutchcoders/cloudman"
license=('MIT')
depends=()
makedepends=('cargo' 'git' 'make')
checkdepends=()
optdepends=()
provides=($pkgname)
conflicts=($pkgname)
install=
source=(${pkgname}::git+${url}.git)
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-.*//'
}
build() {
cd "${pkgname}"
cargo build --release
}
package() {
cd "${pkgname}"
install -Dm 755 "target/release/cloudman" -t "${pkgdir}/usr/bin"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
#vim: syntax=sh
|