summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgraysky2020-09-29 09:27:29 -0400
committergraysky2020-09-29 09:27:29 -0400
commit71831ed3b1d32575bc3e10976a844a7e113deb5d (patch)
treedb0add9010fe1d5c7754e394010b4438ae2e169d /PKGBUILD
parent5690bd346a5b10183602178582c0b525274bc232 (diff)
downloadaur-71831ed3b1d32575bc3e10976a844a7e113deb5d.tar.gz
Update to 2.3.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index aa65b1aa5c2..b0b57276595 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ssh-audit
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for ssh server auditing."
arch=(any)
url="https://github.com/jtesta/ssh-audit"
@@ -10,10 +10,16 @@ license=('MIT')
depends=('python')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jtesta/$pkgname/archive/v$pkgver.tar.gz")
b2sums=('86dd949d24c0fd7612d99f615028c68d483d681509f34b196916d2f27fa6e144cc5ebe559043466fc78fdec1dd57f3deba7139cf856478b07514eaa3f9a31327')
+install=readme.install
package() {
cd "$pkgname-$pkgver"
- install -Dm755 ssh-audit.py "$pkgdir/usr/bin/$pkgname"
+ # https://github.com/jtesta/ssh-audit/issues/67
+ # ultimately this will go to /usr/bin/ but this works for now
+ install -Dm755 $pkgname.py "$pkgdir/opt/$pkgname/$pkgname"
+ cp -r policies "$pkgdir/opt/$pkgname"
+
+ install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}