summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6fb82e7ceb6dde3226bee4f9cad9897ee5ef81c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Enmanuel Moreira <enmanuelmoreira@gmail.com>

_pkgname=kdigger

pkgname=kdigger-bin
pkgver=1.5.0
pkgrel=1
pkgdesc='Kubernetes focused container assessment and context discovery tool for penetration testing.'
arch=('x86_64')
url='https://github.com/quarkslab/kdigger'
license=('Apache 2')
provides=('kdigger-bin')
source=("https://github.com/quarkslab/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-linux-amd64.tar.gz"
        "https://raw.githubusercontent.com/quarkslab/${_pkgname}/v${pkgver}/LICENSE"
)
sha256sums=('3c0c9bf7fca84d4976fc23850752f4c8f0c6b449183331a09c8b7ad37b886086'
            '164b5d6e11ccd0454ddb48f9f57de8785853e1714b267c319784b4be673febeb')

package() {
    mkdir -p "${pkgdir}/usr/bin"
    install -Dm755 "${srcdir}/${_pkgname}-linux-amd64" "${pkgdir}/usr/bin/${_pkgname}"
    install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}