FS#24284 - [p7zip] Nasm not needed; other PKGBUILD suggestions

Attached to Project: Arch Linux
Opened by Marty (vadmium) - Sunday, 15 May 2011, 09:19 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 15 May 2011, 13:26 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Attached patch for PKGBUILD with some suggested changes.

The main one is Nasm is only required for i686 target architecture builds. The change does add to the complexity but I thought I’d see if you’re okay with it. Similarly I presume Yasm is only needed for 64 bit, not 32 bit, but I haven’t tested this; I just quickly scanned the Make files.

Other changes I suggest:

+ No need to patch usr/local out of the Make file since install command already uses DEST_HOME
+ Install with DEST_DIR instead of patching pkgdir out of the installed wrapper “binaries”
+ I got rid of the DEST_SHARE_DOC oddness. This means it installs HTML documentation properly, instead of the man pages pointing at some web site.

Background:
https://aur.archlinux.org/packages.php?K=p7zip-gui
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 15 May 2011, 13:26 GMT
Reason for closing:  Implemented
Additional comments about closing:  p7zip-9.20.1-2 in [extra]
Comment by Gaetan Bisson (vesath) - Sunday, 15 May 2011, 13:25 GMT
Thanks for these suggestions!
I have implemented most of them except the makedepends switch: it adds complexity (and makes it difficult to parse the PKGBUILD) for virtually no gain.
However, I had to chmod the files under /usr/share/doc/ otherwise they get installed with u-w permissions (so you can't untar the package as non-root).

Loading...