blackarch-devtools/pkgbuild/PKGBUILD
2019-04-20 20:51:34 -05:00

25 lines
780 B
Bash

# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.
pkgname=blackarch-devtools
pkgver=0.1.1
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' 'curl')
makedepends=('rust')
source=("https://github.com/Edu4rdSHL/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('287e35e2a78b6ffb259d5af865a548af37d8acc2e516bc0e63901ab79e0bdceb6ee25c62f9d64d75fa846c0e3d7583028e4bf8c7659264979203cb9d31b434ea')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}