From 264e487304fc90b3ac09301489d2a5061f19764d Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Sat, 25 Jan 2020 18:06:49 -0500 Subject: [PATCH] Update PKGBUILD --- pkgbuild/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgbuild/PKGBUILD b/pkgbuild/PKGBUILD index 831c9a6..e10d939 100644 --- a/pkgbuild/PKGBUILD +++ b/pkgbuild/PKGBUILD @@ -1,25 +1,26 @@ # This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. -pkgname=blackarch-devtools -pkgver=0.1.2 +pkgname=blackarch-devtools-toolkit +pkgver=46.f4a73c0 pkgrel=1 pkgdesc='Development framework for the BlackArch Linux distribution written in Rust.' arch=('x86_64') url='https://github.com/Edu4rdSHL/blackarch-devtools' license=('GPL3') depends=('devtools') -makedepends=('rust' 'git') +makedepends=('cargo' 'git') source=("git+https://github.com/Edu4rdSHL/$pkgname.git") sha512sums=('SKIP') build() { - cd "${pkgname}" + cd $pkgname + cargo build --release } package() { - cd "${pkgname}" + cd $pkgname - install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm 755 target/release/$pkgname "$pkgdir/usr/bin/ba-dev" }