Skip to content

Commit

Permalink
bkcrack: pkgrel++.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Feb 7, 2025
1 parent 488ba35 commit 402e40b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions packages/bkcrack/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=bkcrack
pkgver=v1.7.1.r11.g52c95ab
pkgrel=1
pkgrel=2
pkgdesc='Crack legacy zip encryption with Biham and Kocher known plaintext attack.'
arch=('x86_64' 'aarch64')
groups=('blackarch' 'blackarch-cracker')
Expand Down Expand Up @@ -35,22 +35,9 @@ build() {
cmake --build build
}

check() {
local excluded_tests=""
local ctest_flags=(
--test-dir build
# show the stdout and stderr when the test fails
--output-on-failure
# execute tests in parallel
--parallel $(nproc)
# exclude problematic tests
--exclude-regex "$excluded_tests"
)
ctest "${ctest_flags[@]}"
}

package() {
cd build

install -Dm 755 "src/$pkgname" "$pkgdir/usr/bin/$pkgname"

install -dm 755 "$pkgdir/usr/share/doc/$pkgname"
Expand Down

0 comments on commit 402e40b

Please sign in to comment.