summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6dcc01f60adeb8a9122fedb22736cc060d4cbfb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname="revssl-git"
pkgver=r5.bd64eca
pkgrel=1
pkgdesc='simple script that automates generation of OpenSSL reverse shells'
arch=('any')
url='https://github.com/TheSecondSun/Revssl'
license=('MIT')
source=('git+https://github.com/TheSecondSun/Revssl.git')
md5sums=('SKIP')

pkgver() {
  cd Revssl
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir/Revssl"
    install -Dm755 revssl.sh "$pkgdir/usr/bin/revssl.sh"
}