Update PKGBUILD

This commit is contained in:
Eduard Tolosa 2020-01-25 18:06:49 -05:00
parent f4a73c0e52
commit 264e487304

View file

@ -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"
}