summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKnut Ahlers2019-10-19 14:59:14 +0200
committerKnut Ahlers2019-10-19 15:00:54 +0200
commit303073408a8b80289990d2386d8e32d71cca4c5b (patch)
tree042ff94cb26215ebe428f85a2f67521cbb857602
parent91e5a15d123dfa5547b080e5ab51b03b5ce3a0fb (diff)
downloadaur-dust.tar.gz
Specify target directory for builds
in order to fix issues with a target directory set in some global cargo config. Signed-off-by: Knut Ahlers <knut@ahlers.me>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 42afa1c8323..213f6e911a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dust
pkgdesc = du + rust = dust. Like du but more intuitive
pkgver = 0.4.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/bootandy/dust
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c49d3bde8b3..0d7c9e09bef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=dust
pkgver=0.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="du + rust = dust. Like du but more intuitive"
url="https://github.com/bootandy/dust"
makedepends=('cargo')
@@ -13,7 +13,7 @@ sha512sums=('3a867451c23b9acf409acc83c7ea4c85864aae47405aa23f2a520e246b1162cc2eb
build() {
cd "$pkgname-$pkgver"
- cargo build --release
+ cargo build --release --target-dir "./target"
}
package() {