blob: 96cdf0d9eb07116e15fb11ebc720c454e81a58a1 (
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
33
34
|
# Maintainer: Kr1ss <kr1ss.x@yandex.com>
pkgname=joomscan-git
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --tags | sed 's:-:\+:g'
}
pkgver=0.0.7+11+g59ded07
pkgrel=1
pkgdesc='OWASP Joomla! security scanner'
arch=('any')
url='https://www.owasp.org/index.php/Category:OWASP_Joomla_Vulnerability_Scanner_Project'
license=('GPL3')
depends=('perl')
makedepends=('git' 'rsync')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
changelog='CHANGELOG'
source=("git+https://github.com/rezasp/${pkgname%-git}")
sha256sums=('SKIP')
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm755 -t "$pkgdir/usr/lib/${pkgname%-git}/" "${pkgname%-git}".pl
rsync -rpt core exploit modules "$pkgdir/usr/lib/${pkgname%-git}/"
install -Dm644 -t "$pkgdir/usr/share/doc/${pkgname%-git}/" *.md Dockerfile
install -dm755 "$pkgdir/usr/bin"
ln -Ts "/usr/lib/${pkgname%-git}/${pkgname%-git}.pl" "$pkgdir/usr/bin/${pkgname%-git}"
}
|