pabryan
0
5
pabryan

@lemmy.ml

pabryan 6 points 20 days ago

I think the answer can be found at The pkgver() function

To use pkgver(), you still need to declare the pkgver variable with the most recent value. makepkg will invoke function pkgver(), and update variable pkgver accordingly.

I read that as set pkgver to the most recent version at the time you last updated the PKGBUILD. Then the pkgver() function will update it when building the package. I guess you just need something set. It's not clear to me if it actually matters or not.

path: 0 26025498, hotness: undefined, score: 6, children: 6
pabryan 2 points 4 months ago

Love it!

path: 0 24295723, hotness: undefined, score: 2, children: 0
pabryan 2 points 18 days ago

Yes, it took a little digging to find it! Not sure why it's necessary if it's unused. Maybe for error checking? Is it tricky for shell scripts to detect whether a function (i.e. pkgver()) has been defined?

path: 0 26025498 26025726 26048035, hotness: undefined, score: 2, children: 1
pabryan 1 point 4 months ago

What fun! I like this idea. You should add some screenshots.

path: 0 24064016, hotness: undefined, score: 1, children: 0
pabryan 1 point 3 months ago

What about spawning once and for all? It would hide on startup. Then keypress shows it and starts the timer to rehide it. Then you wouldn't have to worry about process management with flock. Each keypress just sets it to visible (which is fine if.it's already visible) and restarts the timer.

You could use your daemon manager (systemd most commonly) to manage the process.

Just a thought. In any event, looks quite cool and I'll give it a try 😃

path: 0 25020884 25021585 25029119, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...