You are not logged in.
Pages: 1
Hi,
I've never written a pkgbuild from scratch, and I have a question: suppose I found out a nice program that's not in the AUR. How do I fill in the 'depends=(), makedepends=() and optdepends() lists? In Salix I had a nice little tool named depfinder whose output listed all dependencies from a slackware/salix package. Now that I have a rather complex system with many installed packages, how do I figure it out the 'essential' ones for one program to build and run using a pkgbuild?
Last edited by lmello (2013-01-30 22:42:02)
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
Offline
I meant what if I have an empty depends=() array? Pacman -Qip <package> doesn't help then...
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
Read the package's documentation. Usually the authors will list the build dependencies in the README or INSTALL file, or possibly somewhere on the package's website. Then it's up to you to find the Arch/AUR packages that fulfill those dependencies.
Offline
I meant what if I have an empty depends=() array? Pacman -Qip <package> doesn't help then...
Read the part below that, regarding namcap.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1