blob: d1cf700fde16920ba19a0c3fdee644f8c5e5b2a4 (
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
36
37
|
# Maintainer: David Parrish <daveparrish@tutanota.com>
# Maintainer: Trevor Bramble <inbox@trevorbramble.com>
pkgname=habitat
pkgver=0.50.3
pkgrel=2
pkgdesc="Application automation framework that allows you to build applications that have automation built-in"
arch=('x86_64')
url="https://www.habitat.sh/"
license=('Apache')
depends=('libarchive' 'libsodium')
makedepends=('cargo' 'zeromq')
provides=('habitat')
conflicts=('habitat-bin' 'habitat-git')
source=("${pkgname}::git+https://github.com/habitat-sh/habitat.git#tag=${pkgver}")
sha256sums=('SKIP')
build() {
# Use a temporary local Cargo repository.
export CARGO_HOME="${srcdir}/cargo-repository"
cd "${srcdir}/${pkgname}"
make
}
# Commented out because tests ask for sudo access
#check() {
# # Use a temporary local Cargo repository.
# export CARGO_HOME="$srcdir/cargo-repository"
#
# cd "${srcdir}/${pkgname}"
# make test
#}
package() {
install -D -m755 "${srcdir}/${pkgname}/target/debug/hab" "${pkgdir}/usr/bin/hab"
}
|