summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKonstantin Stepanov2016-12-16 12:28:55 +0300
committerKonstantin Stepanov2016-12-16 12:30:03 +0300
commit381eb9eebc0914e8224549fbc53cd1440c665864 (patch)
treedcd3352e0509ed37fc8d956a351693bec5b9b5c4 /PKGBUILD
parent8bc212d1d00511586280c3b9759407cb17247f49 (diff)
downloadaur-cargo-pkgbuild.tar.gz
fix pkgbuild
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7f272d73c2f..f9298e7fee5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Konstantin Stepanov <me@kstep.me>
pkgname=cargo-pkgbuild
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="ArchLinux's PKGBULD generator from Cargo.toml manifest file"
@@ -13,5 +13,6 @@ build() {
}
package() {
- cargo install --root="$pkgdir" cargo-pkgbuild
+ cargo install --root="$pkgdir/usr/" cargo-pkgbuild
+ rm -f "$pkgdir/usr/.crates.toml"
}