diff options
author | matan h | 2023-07-04 18:37:38 +0300 |
---|---|---|
committer | matan h | 2023-07-04 18:37:38 +0300 |
commit | d8a433ffa1b0026a78f6500b5007d9926a34ec1b (patch) | |
tree | 04dd6f9228bb7a7399211c18350c347b12863c5b | |
parent | 69a9291330abda3481694b6d3b08744353e81afa (diff) | |
download | aur-d8a433ffa1b0026a78f6500b5007d9926a34ec1b.tar.gz |
zenmap-python3-git is deprecated. please use https://aur.archlinux.org/packages/zenmap
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 12 insertions, 37 deletions
@@ -1,20 +1,11 @@ pkgbase = zenmap-python3-git - pkgdesc = Graphical Nmap frontend and results viewer - rerwite in python 3 - pkgver = 7.93 + pkgdesc = zenmap-python3-git is deprecated. please use https://aur.archlinux.org/packages/zenmap + pkgver = 9 pkgrel = 1 - url = https://github.com/nmap/nmap + url = https://aur.archlinux.org/packages/zenmap arch = any license = GPL2 - makedepends = unzip - depends = python - depends = python-cairo - depends = nmap - depends = gtk3 - depends = python-gobject - optdepends = gksu: starting zenmap as root + depends = zenmap provides = zenmap - conflicts = zenmap - source = nmap.zip::https://github.com/nmap/nmap/archive/refs/heads/master.zip - md5sums = SKIP pkgname = zenmap-python3-git @@ -1,37 +1,21 @@ # Maintainer: Matan h <matan.honig2@gmail.com> pkgname="zenmap-python3-git" _pkgname=nmap -pkgver=7.93 +pkgver=9 pkgrel=1 -pkgdesc="Graphical Nmap frontend and results viewer - rerwite in python 3" +pkgdesc="zenmap-python3-git is deprecated. please use https://aur.archlinux.org/packages/zenmap" arch=("any") -url="https://github.com/nmap/nmap" +url="https://aur.archlinux.org/packages/zenmap" license=("GPL2") -makedepends=("unzip") -conflicts=("zenmap") -depends=("python" - "python-cairo" - "nmap" - "gtk3" - "python-gobject") - -optdepends=("gksu: starting zenmap as root") +depends=("zenmap") provides=("zenmap") -source=("${_pkgname}.zip::https://github.com/nmap/nmap/archive/refs/heads/master.zip") -md5sums=("SKIP") -pkgver() { - cat "$srcdir/nmap-master/zenmap/share/zenmap/config/zenmap_version" +prepare() { + echo "zenmap-python3-git is deprecated. please use https://aur.archlinux.org/packages/zenmap (paru -R zenmap-python3-git && paru -S zenmap)" + exit } package() { - cd "$srcdir/nmap-master/zenmap" - python3 setup.py install --prefix "/usr" --root="${pkgdir}" --optimize=1 - - rm "${pkgdir}/usr/bin/uninstall_zenmap" - install -Dm644 ../docs/zenmap.1 "${pkgdir}/usr/share/man/man1/zenmap.1" - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s "../${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - python -m compileall "${pkgdir}"/usr/lib/python3.10/site-packages + echo "zenmap-python3-git deprecated. please use https://aur.archlinux.org/packages/zenmap" } |