blob: 867bc532b7e9f7fb5aaeb5cb0e41011fada6778a (
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
|
# Maintainer: Max Harmathy <harmathy@alumni.tum.de>
pkgname=openstack_tui
pkgver=0.9.2
pkgrel=1
pkgdesc="Terminal User Interface for the OpenStack written in Rust"
arch=('x86_64')
url="https://github.com/gtema/openstack"
license=('Apache-2.0')
depends=()
makedepends=('cargo')
options=('!lto')
source=("git+$url.git#tag=$pkgname-v$pkgver")
sha256sums=('2c6cf616a8858734d07a42b3835cb8454a89d9e0b6a60089c99d7e6c9b104db6')
build() {
cd openstack
export CARGO_HOME="$srcdir/cargo-home"
cargo build --release --bin ostui
}
package() {
cd openstack
install -Dm755 -t "$pkgdir/usr/bin" target/release/ostui
}
|