# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=blackarch-devtools
pkgver=0.1.2
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')
source=("git+https://github.com/Edu4rdSHL/$pkgname.git")
sha512sums=('SKIP')

build() {
  cd "${pkgname}"
  cargo build --release
}

package() {
  cd "${pkgname}"

  install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
