summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Parrish2017-04-16 10:52:11 -0400
committerDavid Parrish2017-04-16 10:52:11 -0400
commit878473bc43287a36838fd347663e96c076709fcd (patch)
treee32839271c2a94847c62323ef1a75997ae539ad0
parentd507c9dca8483b24ecfa0a8c3892fa287e9d5f43 (diff)
downloadaur-878473bc43287a36838fd347663e96c076709fcd.tar.gz
Make cargo use a temporary repository
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 3 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4bdba24724e..c0be27ced35 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sun Apr 16 14:40:37 UTC 2017
+# Sun Apr 16 14:51:14 UTC 2017
pkgbase = habitat
pkgdesc = Application automation framework that allows you to build applications that have automation built-in
pkgver = 0.20.0
diff --git a/PKGBUILD b/PKGBUILD
index 6a9d9ebba87..1bbdef8e0c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ sha256sums=('SKIP')
build() {
# Use a temporary local Cargo repository.
- local CARGO_HOME="${srcdir}/cargo-repository"
+ export CARGO_HOME="${srcdir}/cargo-repository"
cd "${srcdir}/${pkgname}"
make
@@ -23,15 +23,12 @@ build() {
# Commented out because tests ask for sudo access
#check() {
# # Use a temporary local Cargo repository.
-# local CARGO_HOME="$srcdir/cargo-repository"
+# export CARGO_HOME="$srcdir/cargo-repository"
#
# cd "${srcdir}/${pkgname}"
# make test
#}
package() {
- # Install executable.
- ls
install -D -m755 "${srcdir}/${pkgname}/target/debug/hab" "${pkgdir}/usr/bin/hab"
}
-