You are not logged in.
I am trying to install pyrit 0.4.0-1 but it seems there is a problem in pkgbuild... package() function is missed:
pyrit 0.4.0-1 (Wed Aug 5 23:34:46 CEST 2009)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> pyrit dependencies:
- openssl (already installed)
- python2 (already installed)
- zlib (already installed)
- libpcap (already installed)
- gcc (already installed)
- python2 (already installed)
==> Continue building pyrit ? [Y/n]
==> -------------------------------
==>
==> Building and installing package
==> ERROR: Missing package() function in /tmp/yaourt-tmp-toni/aur-pyrit/./PKGBUILD
==> ERROR: Makepkg was unable to build pyrit.
==> Restart building pyrit ? [y/N]How to add package function in PKGBUILD?
Last edited by toni (2015-01-15 19:45:44)
Offline
Moved to AUR issues.
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root=${pkgdir}
}I posted a comment about this on the AUR page for pyrit, but I saw that this same maintainer has another package that has been flagged out of date for over 2 years and that hasn't been touched. I suspect they also will not fix this one.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Moved to AUR issues.
build() { cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${pkgname}-${pkgver}" python2 setup.py install --root=${pkgdir} }I posted a comment about this on the AUR page for pyrit, but I saw that this same maintainer has another package that has been flagged out of date for over 2 years and that hasn't been touched. I suspect they also will not fix this one.
Thanks, it worked!
Offline