pkgname: nmap pkgver: '7.991' pkgrel: '1' pkgdesc: 'Utility for network discovery and security auditing' url: 'https://insecure.org/nmap/' arch: x86_64 depends: [] makedepends: - 'python-setuptools' - 'python-build' - 'python-gobject' - pcre2 - lua - libpcap - liblinear source: - 'http://download.insecure.org/nmap/dist/${pkgname}-${pkgver}.tgz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} sed -ri Makefile.in \ -e 's#-m build#& --no-isolation#' \ -e '/pip install/s#(ZENMAP|NDIFF)DIR\)/#&dist/*.whl#' sed 's/, "setuptools-gettext"//' -i zenmap/pyproject.toml sed '/py-modules/s/f"/&, "Version"/' -i ndiff/pyproject.toml ./configure --prefix=/usr \ --mandir=/usr/share/man \ --localedir=/usr/share/locale \ --docdir=/usr/share/doc/${pkgname}-${pkgver} \ --with-liblua=included \ --infodir=/usr/share/info make || make -j1 make DESTDIR=${PKGDIR} install package: | true