blob: 4cb5920697d39273f1a4f2c09e3a448b6ea25459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Contributor: Aloxaf <aloxafx@gmail.com>
# Maintainer: Asuka Minato <i at asukaminato dot eu dot org>
pkgname=bkcrack-bin
pkgver=1.7.0
pkgrel=1
pkgdesc="Crack legacy zip encryption with Biham and Kocher's known plaintext attack."
arch=('x86_64')
url="https://github.com/kimci86/bkcrack"
license=('Zlib')
depends=('gcc-libs' python glibc)
provides=("bkcrack")
conflicts=("bkcrack")
source=("https://github.com/kimci86/bkcrack/releases/download/v$pkgver/bkcrack-$pkgver-Linux.tar.gz")
sha256sums=('9c82fa633097ada121d45c2400e3a4c197a8431dd2e425fd42ea44c2f60c214b')
package() {
install -vd "$pkgdir/usr/share/bkcrack"
cp -av ./*/* "$pkgdir/usr/share/bkcrack"
install -vDm755 "$pkgdir/usr/share/bkcrack/bkcrack" -t "$pkgdir/usr/bin/"
install -vDm644 "$pkgdir/usr/share/bkcrack/license.txt" -t "$pkgdir/usr/share/licenses/$pkgname/"
rm -v "$pkgdir/usr/share/bkcrack/bkcrack" "$pkgdir/usr/share/bkcrack/license.txt"
}
|