diff options
author | Kr1ss | 2019-10-22 19:36:17 +0200 |
---|---|---|
committer | Kr1ss | 2019-10-22 19:36:17 +0200 |
commit | 0f46ef08923b88aa0510ed767d51d5c04d184b3e (patch) | |
tree | 2805cdf7f27d03ea27e60686e9e6f49cea8d12d2 | |
parent | 6423a1148ae9d94ed7b76078809db9ee3fde8486 (diff) | |
download | aur-0f46ef08923b88aa0510ed767d51d5c04d184b3e.tar.gz |
fix app starter
Hat tip @edoz90 for the report.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 15 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = joomscan-git pkgdesc = OWASP Joomla! security scanner - pkgver = 0.0.7+11+g59ded07 - pkgrel = 1 + pkgver = 0.0.7+27+g4192949 + pkgrel = 2 url = https://www.owasp.org/index.php/Category:OWASP_Joomla_Vulnerability_Scanner_Project changelog = CHANGELOG arch = any @@ -1,12 +1,13 @@ -# Maintainer: Kr1ss <kr1ss.x@yandex.com> +# Maintainer : Kr1ss $(sed s/\+/./g\;s/\-/@/ <<<\<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 +pkgver=0.0.7+27+g4192949 +pkgrel=2 pkgdesc='OWASP Joomla! security scanner' arch=('any') @@ -29,6 +30,14 @@ package() { 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}" + #ln -Ts "/usr/lib/${pkgname%-git}/${pkgname%-git}.pl" "$pkgdir/usr/bin/${pkgname%-git}" + cat >"$pkgdir/usr/bin/${pkgname%-git}" <<-EOT + #!/bin/sh + + /usr/bin/perl "/usr/lib/${pkgname%-git}/${pkgname%-git}.pl" + EOT + chmod 755 "$pkgdir/usr/bin/${pkgname%-git}" } + +# vim: ts=4 sw=4 noet ft=PKGBUILD: |