You are not logged in.
Could anyone kindly help me out? I'm trying to make a PKGBUILD with little success.
https://aur.archlinux.org/packages/tbs-linux-drivers/
It should build some drivers + install them and some firmware to /usr/lib/firmware/
Offline
What goes wrong?
Offline
First of all, I think you can drop all the "| return 1" stuff. Also, I have seen many people put quotes on the url in the source()-array.
Offline
Sorry for not being so specific. I was expecting someone to try out the pkgbuild. -Which was a silly assumption.
ok I cleaned away all the "| return 1" things. During the build() -function it stopped with permission error:
make -C /tmp/makepkg/src/linux-tbs-drivers/v4l
make: *** /tmp/makepkg/src/linux-tbs-drivers/v4l: Permission denied. Stop.
make: *** [all] Error 2
==> ERROR: error occurred in function build().
Reversing...
==> ERROR: Makepkg was unable to build tbs-linux-drivers.
This was translated. My locale is Finnish
Offline
Just for the record, I spent 6 hours reading AUR, PKGBUILD and makepkg guides and man pages. (before someone tells me to...)
I think it's worth the effort anyhow. I'm not into bash syntax yet, so possibly it's just a syntax error.
Offline
Contents of linux-tbs-drivers.tar.bz2 have broken permissions - directories should be set executable, as should scripts in v4l/scripts/.
"make install" belongs to package(), methinks.
It fails to build here anyhow.
Offline
So, you should probably get in touch with whoever uploads the driver package you're trying to build from, and have them fix the permissions.
Offline
about the license : check the COPYING file in the linux-tbs-drivers.tar.bz2 tarball.
It clearly states that sourcecode is released under the GPL v2.
There's no mention of any license wrt to the firmware files, so keep unknown for that.
for now license field should be ('GPL2' 'unknown') .
If you are going to write to TBS, then also suggest them to add something about the license/copying for the firmware.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline