Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added: ares #3891

Merged
merged 4 commits into from
Jul 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}