summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a00c2cbb6331323e3a9275db51936a1cd36b51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Sofiane Hamlaoui <s0fianehaml40u1 at gmail dot com>

pkgname=lockdoor
_pkgname=lockdoor-framework
pkgver=2.2.4
pkgrel=1
pkgdesc="A penetration testing framework with cyber security resources"
url="http://github.com/SofianeHamlaoui/Lockdoor-Framework"
arch=('any')
license=('GPL3')
depends=('python' 'python-pip' 'python-requests' 'python2' 'python2-pip' 'gcc' 'ruby' 'php' 'git' 'wget' 'curl' 'netcat' 'subversion' 'jre-openjdk' 'make' 'automake' 'gcc' 'linux-headers' 'gzip'  'rsync' 'wget')
optdepends=()
optdepends=()
makedepends=()
provides=('lockdoor-framework')
options=(!strip)
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/Lockdoor-Framework/Lockdoor-Framework")
sha256sums=(SKIP)

pkgver() {
    ver=$(curl -s -L https://raw.githubusercontent.com/SofianeHamlaoui/Lockdoor-Framework/master/VERSION)
    printf "$ver" 
}

package() {
    install -Dm755 "${srcdir}/${_pkgname}/lockdoor" "${pkgdir}/usr/bin/lockdoor"
    mkdir -p ${pkgdir}/usr/bin/lockdoors
    rsync -a "${srcdir}/${_pkgname}/lockdoors" "${pkgdir}/usr/bin/"
    mkdir -p ${pkgdir}/opt/sofiane/
    rsync -a "${srcdir}/${_pkgname}/pentest" "${pkgdir}/opt/sofiane/"
}