summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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"
}