Package Details: muwrap-git r21.414e7e9-2

Git Clone URL: https://aur.archlinux.org/muwrap-git.git (read-only, click to copy)
Package Base: muwrap-git
Description: Text word wrapping utility for the command line
Upstream URL: https://github.com/c2d7fa/muwrap
Licenses: MIT
Conflicts: muwrap
Provides: muwrap
Submitter: johv
Maintainer: johv
Last Packager: johv
Votes: 0
Popularity: 0.000000
First Submitted: 2021-03-04 20:09 (UTC)
Last Updated: 2024-08-11 22:02 (UTC)

Required by (0)

Sources (1)

Latest Comments

johv commented on 2024-08-11 21:56 (UTC)

Hmm, if I had to guess, it might be that Nim always links with libm, even when it's not actually necessary. I couldn't find out an easy way to get it to stop doing that, but it's possible to just remove the dependency after building with ldd -u main | grep -Po '/usr/lib/\K\S+' | xargs -I% patchelf --remove-needed % main. To be honest, this seems like the kind of thing that's likely to be a bad idea, but I went through the trouble of figuring out how to do this, so I added it to the PKGBUILD anyway.

micwoj92 commented on 2024-08-11 21:13 (UTC)

Thanks for all.

Now the only namcap warning left is:

muwrap-git W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/muwrap')

I don't know what causes this, some nim packages have it and some don't 🤷

johv commented on 2024-08-11 21:09 (UTC)

Ah, right, I'm being a bit sloppy. Hopefully it's correct now 😅

micwoj92 commented on 2024-08-11 20:56 (UTC)

License also needs to install to /usr/share/licenses/muwrap-git/ (sorry, didnt see this one earlier).

johv commented on 2024-08-11 20:11 (UTC)

Oops, forgot about that. It should be good now. Thanks :)

micwoj92 commented on 2024-08-11 19:01 (UTC)

Please also update and push .SRCINFO so that changes are visible on aurweb.
makepkg --printsrcinfo > .SRCINFO

johv commented on 2024-08-11 14:36 (UTC)

@micwoj92 Thanks! These issues should be fixed now.

micwoj92 commented on 2024-08-08 20:08 (UTC)

Package shouldn't have any arch. Please also install license file and add glibc to depends.