You are not logged in.
Hi all,
a few days ago I wrote my first PKGBUILD in my life ;-)
I noticed this warning during the makepkg process
==> WARNING: Package contains reference to $srcdir
usr/bin/ironscanner
Now I discovered that in fact this warning needs to be taken seriously ;-), because after removing the workdir which was used during the makepkg process now can't run ironscanner anymore. Because I get this error message:
[white@whites-nb4 ironscanner]$ ironscanner
bash: /usr/bin/ironscanner: /home/white/work/aur/ironscanner/src/ironscanner/venv/bin/python3: bad interpreter: No such file or directory
So can anyone point me to the right direction where the error is?
PKGBUILD can be found here: https://aur.archlinux.org/packages/ironscanner/
Regards White
Offline
Why are you using a venv in the first place?
Offline
Does the following work for you?
build() {
cd $pkgname
python setup.py build
}
package() {
cd $pkgname
python setup.py install -O1 --prefix=/usr --root="$pkgdir" --skip-build
}
Edit:
may need depends python-gobject, python-pillow, python-psutil, sane
Last edited by loqs (2020-02-14 22:02:48)
Offline
I'm guessing you'll need to handle the submodule as well
Offline
Or try using libinsane in place of the submodule.
Offline