summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85b56227702..90a8da03094 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = ssh-audit
pkgdesc = A tool for ssh server auditing.
pkgver = 2.3.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jtesta/ssh-audit
arch = any
license = MIT
+ makedepends = python-setuptools
depends = python
source = ssh-audit-2.3.1.tar.gz::https://github.com/jtesta/ssh-audit/archive/v2.3.1.tar.gz
b2sums = 38656a2c93f7230a7aec760c4eca892fe1ce5977f482ff369db2812c1a87adcb4d3966bee1b0d59988666e3ab4416332448940ecd02518eb64407c0d8d793b3e
diff --git a/PKGBUILD b/PKGBUILD
index d7e865e99a3..2951ff461ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
pkgname=ssh-audit
pkgver=2.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for ssh server auditing."
arch=(any)
url="https://github.com/jtesta/ssh-audit"
-license=('MIT')
-depends=('python')
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
source=("$pkgname-$pkgver.tar.gz::https://github.com/jtesta/$pkgname/archive/v$pkgver.tar.gz")
b2sums=('38656a2c93f7230a7aec760c4eca892fe1ce5977f482ff369db2812c1a87adcb4d3966bee1b0d59988666e3ab4416332448940ecd02518eb64407c0d8d793b3e')
@@ -20,4 +21,5 @@ package() {
cd "$pkgname-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" --skip-build
install -Dm644 -t "$pkgdir"/usr/share/man/man1 ssh-audit.1
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
}