Search Criteria
Package Details: pdfcpu-bin 0.9.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pdfcpu-bin.git (read-only, click to copy) |
---|---|
Package Base: | pdfcpu-bin |
Description: | A PDF processor written in Go. |
Upstream URL: | https://pdfcpu.io/ |
Keywords: | cli go pdf pdfcpu |
Licenses: | Apache-2.0 |
Conflicts: | pdfcpu |
Provides: | pdfcpu |
Submitter: | AsukaMinato |
Maintainer: | gromit |
Last Packager: | gromit |
Votes: | 1 |
Popularity: | 0.000052 |
First Submitted: | 2023-03-06 14:53 (UTC) |
Last Updated: | 2024-10-24 09:44 (UTC) |
Latest Comments
gromit commented on 2024-10-24 09:46 (UTC)
@m040601, thanks for your suggestions, I polished the
PKGBUILD
a bit in the latest revision!Hah! That could be me 😂
m040601 commented on 2024-10-24 09:29 (UTC)
@gromit
Thanks for keeping up with the work on this PKGBUILD.
This tool is VERY usefull and is on a good path for contituous improvement.
Hopefully @alerque or some Archlinux official packager will pick it up and turn it into an official package.
In the mean time, there are some things that you need to polish and watch out on this "pdfcpu-bin" PKGBUILD.
Ask for help if you need. It would be nice if both you and @Rubo, https://aur.archlinux.org/packages/pdfcpu could coordinate and share work.
Right now your PKGBUILD install this,
This is wrong for "doc" and "licenses". You should not create folders named "pdfcpu-bin". That is this PKGBUILD name. The tool name is and stays "pdfcpu". Independent of the PKGBUILD you choose to install it, "pdfcpu-git", "pdfcpu" or "pdfcpu-bin".
So no "-bin" there:
gromit commented on 2023-12-16 17:43 (UTC)
Hey @alerque,
thanks for your suggestions, especially about the
conflicts=(...)
and other architectures, I applied them ^_^ I should have audited thePKGBUILD
more carefully when I adopted/updated the package 😬What I didn't understand what the reason is to add the provides statement?
alerque commented on 2023-12-16 12:15 (UTC)
It is helpful for packages that provide something other than their pkgname to also note the version that they provide. Also it isn't necessary to conflict with X-git, not just because in this case it doesn't exist but because all packages that conflict with X will conflict with each other automatically. VCS/bin and other variant packages should always only conflict with the base name, they don't have to note all the possible variants.
This patch should apply with
git am < file.patch
and also fix the ARM builds:m040601 commented on 2023-12-11 00:48 (UTC)
pacman -Ql pdfcpu-bin
tar tvf pdfcpu_0.6.0_Linux_x86_64.tar.xz
The tar.xz also includes a README. Please dont throw it away and make sure it gets installed to something like
Thanks in advance
m040601 commented on 2023-12-11 00:44 (UTC)
https://pdfcpu.io/;y
"Upstream URL:" needs to be changed from
to