diff --git a/packages/cdk/PKGBUILD b/packages/cdk/PKGBUILD new file mode 100644 index 00000000000..adef0c9aeaa --- /dev/null +++ b/packages/cdk/PKGBUILD @@ -0,0 +1,52 @@ +# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). +# See COPYING for license details. + +pkgname=cdk +pkgver=v1.5.3 +_pkgver=v1.5.3 +pkgrel=1 +pkgdesc='Zero Dependency Container Penetration Toolkit' +arch=('any') +groups=('blackarch' 'blackarch-scanner') +url='https://github.com/cdk-team/CDK' +depends=('bash') +makedepends=() +optdepends=() +options=(!strip) +source=( + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_darwin_amd64' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_386' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_386_thin' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_386_thin_upx' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_386_upx' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_amd64' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_amd64_thin' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_amd64_thin_upx' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_amd64_upx' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_arm' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_arm64' + 'https://github.com/cdk-team/CDK/releases/download/v1.5.3/cdk_linux_arm64_thin' + ) +sha256sums=( + '64b40a70b232b7e23a187a11c52ef8d8b7f3e16a5b869af16b390cbbe4aab935' + '4c7260ac051907d12896054145fe103f9ea06de3bb2f04f0aab953dff32028de' + '2c757f0065c167e633318ff8d43cb85cf936eae2db224f4e066098f4a8cb324a' + '197c42343c75fbbb7d77f3aaa92e04e43ddec927887e889197db72fcff5e9df4' + '17b096ff5df1b612abc12887e65fae97280533bfe058ce6becb9c0920f4d4c42' + 'd7f0690e41786270f345ff4851fd4b239631d4c1e7a6b9f74ad139565cbdb2ed' + '13f42e004a25be9ba99aee3396a1d810026d7750d1e199774c5ba8410b15ae30' + 'cdac5cd3d0ff424315da3e233a79f72663c26e53fc4ac2e5031ea08154630514' + 'ccbc5c84af4045835e6b001cdf845d63802e081cbb97d9625c12d8d0f9b6f852' + '896b8d804debd233200375a5b7c1218d5b8bf5f53aaaa685b9d411c0770e27d4' + '381448682cb5ea5ff1bc8bfd3462e637da0445fc74fdb60e0de5e11d8c2dc90d' + '2b92652d4909d39e12fc9320188f9e834b82f80d3aba92dea4267608f3543861' + ) + + +package() { + install -dm 755 "$pkgdir/usr/share/$pkgname/binaries" + + install -Dm 644 "$srcdir/cdk_"* "$pkgdir/usr/share/$pkgname/binaries" + +} +