blackarch-devtools/pkgbuild/PKGBUILD
2019-04-21 01:32:36 -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.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' 'curl')
makedepends=('rust')
source=("https://github.com/Edu4rdSHL/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('d8eef1fb41d1673f6ad03655e1660b85a01e6525eecfdd736b7e947d0a918973bebbde09338b28128aabb3dff31c49265253c3cfa278eccf57aab6d6f1d603ac')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}