Skip to content

Commit

Permalink
added: ares (#3891)
Browse files Browse the repository at this point in the history
* added: ares

* added: ares

* Update PKGBUILD

---------

Co-authored-by: winetrix <[email protected]>
  • Loading branch information
D3vil0p3r and noptrix committed Jul 2, 2023
1 parent 2d607be commit cb4ee57
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions packages/ares/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ares
pkgver=v0.10.0.r34.g8197b54
pkgrel=1
pkgdesc='Automated decoding of encrypted text without knowing the key or ciphers used.'
arch=('x86_64' 'aarch64')
groups=('blackarch' 'blackarch-cracker' 'blackarch-crypto')
url='https://github.com/bee-san/Ares'
license=('MIT')
depends=()
makedepends=('git' 'cargo')
source=("git+https://github.com/bee-san/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
cd $pkgname

cargo build --release --locked
}

package() {
cd $pkgname

install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"

install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

0 comments on commit cb4ee57

Please sign in to comment.