summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre LALET2019-07-05 12:12:57 +0200
committerPierre LALET2019-07-05 12:12:57 +0200
commit5ac304270edb9dabd48126b394569cc693a6ebe9 (patch)
treee2f82cecccb5d6dc570e09a545fe3d61d462ffdc
parent68c3c94c56883f6b5b8c33b269a69cd6add640b1 (diff)
downloadaur-5ac304270edb9dabd48126b394569cc693a6ebe9.tar.gz
Update after new documentation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 888d7b5c22b..b876f11f68e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ivre-git
pkgdesc = Network recon framework based on Nmap, Masscan, Zeek (Bro), Argus, Netflow,...
- pkgver = 0.9.13
+ pkgver = 0.9.13.dev14
pkgrel = 1
url = https://ivre.rocks/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index fdcf3249943..3f69fbab7c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase='ivre-git'
pkgbasename='ivre'
pkgname=('ivre-git' 'ivre-web-git' 'ivre-docs-git' 'python-ivre-git' 'python2-ivre-git')
-pkgver=0.9.13
+pkgver=0.9.13.dev14
pkgrel=1
pkgdesc='Network recon framework based on Nmap, Masscan, Zeek (Bro), Argus, Netflow,...'
arch=('any')
@@ -54,7 +54,7 @@ package_ivre-git() {
"${pkgdir}/usr/share/doc" \
"${pkgdir}/usr/share/ivre/dokuwiki" \
"${pkgdir}/usr/share/ivre/web"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/LICENSE*
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/license*
}
package_ivre-docs-git() {
@@ -63,6 +63,8 @@ package_ivre-docs-git() {
pkgdesc+=' (documentation)'
cd "$srcdir/$pkgbasename"
python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
+ cp README.md "${pkgdir}/usr/share/doc/ivre/"
+ mv "${pkgdir}/usr/share/ivre/web/static/doc" "${pkgdir}/usr/share/doc/ivre/html"
rm -r "${pkgdir}/usr/bin" "${pkgdir}/usr/lib" \
"${pkgdir}/usr/share/ivre" \
"${pkgdir}/etc/bash_completion.d"
@@ -88,7 +90,7 @@ package_ivre-web-git() {
"${pkgdir}/usr/share/ivre/honeyd" \
"${pkgdir}/usr/share/ivre/nmap_scripts" \
"${pkgdir}/etc/bash_completion.d"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/LICENSE*
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/license*
install -Dm0644 "pkg/apache/ivre.conf" "$pkgdir/etc/httpd/conf/extra/ivre.conf"
}
@@ -114,7 +116,7 @@ package_python-ivre-git() {
rm -r "${pkgdir}/usr/bin" \
"${pkgdir}/usr/share" \
"${pkgdir}/etc/bash_completion.d"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/LICENSE*
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/license*
}
package_python2-ivre-git() {
@@ -139,5 +141,5 @@ package_python2-ivre-git() {
rm -r "${pkgdir}/usr/bin" \
"${pkgdir}/usr/share" \
"${pkgdir}/etc/bash_completion.d"
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/LICENSE*
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" doc/license*
}