<stratofall>
I have been trying to make a few packages for myself. Starting with hopefully simple ones so I can learn a bit. I'm trying fastfetch that uses cmake. I can get it to build just fine with a working excutable. My problem is I am not sure how to get the excutable into the DESTDIR="$PKG" When I test the build it tells me the directory does not exist. I am using pkgmk -d -kw so I can look at my work as
<stratofall>
I progress. https://pastebin.com/zdYzGtY7 This is my Pkgfile. This is my error https://pastebin.com/wg0y38mT I know I am doing it wrong. I tried to see if I could install the fastfetch file to DESTDIR="$PKG" first but then I decided to try and just move it instead.
<stratofall>
I have had far more luck with the autotools programs so far. cmake I'm not sure what I am doing yet.
<stratofall>
Sorry, I meant this for the regular channel. uhg
<beerman>
Have you tried looking at any other port that uses cmake how they do it?
<jaeger>
probably as simple as DESTDIR=$PKG cmake --install
<stratofall>
yeah, I just wasnt seeing it. I ended up with this Pkgfile instead. https://pastebin.com/8LFWNPFq It produces the desired results in my working directory. Sorry to post to devel channel too. I'll pay more attention next time what channel I am in.
<jaeger>
All good
<beerman>
Looks a lot cleaner that way
<stratofall>
It took me a bit. Wanted to do my homework before posting again. Thank you