Package Details: squash-git v0.7.0.r498.g713eeca-1

Git Clone URL: https://aur.archlinux.org/squash-git.git (read-only, click to copy)
Package Base: squash-git
Description: tool for compression benchmarks
Upstream URL: https://quixdb.github.io/squash/
Licenses: MIT
Submitter: Mitmischer
Maintainer: Mitmischer
Last Packager: Mitmischer
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-13 10:37
Last Updated: 2020-04-14 20:05

Dependencies (3)

Required by (0)

Sources (36)

Latest Comments

Mitmischer commented on 2020-04-14 20:18

Whew, that took me a lot longer than I thought. I wrote a script to get the submodule information and put it into the PKGBUILD - luckily, that process is automated from now on! The script is horrible, but it gets the job done.

I'm interested in the common sourcedest-thing - especially if that makes the repos resuable. Do you mean that every other AUR package can then use the repos that squash depends on?

Note that the v is back in the version - it looks like that comes from the git tags themselves, so I kept it. Does that make sense? I'd have to remove it manually on each update otherwise.

FabioLolix commented on 2020-04-14 10:08

Thanks for starting to fix the pkgbuild,

For the license see copying in main folder

The project's submodules are not required to be pulled - this is all done by autogen.sh. For good packaging practice they should be added to source(), see the bottom of link I posted before, configuring submodules will also make them reusable especially if one have set a common sourcedest in makepkg.conf (btw I can help with that)

Thanks for your output, I'll check depends in the next days since I don't have hurry to build this package

Mitmischer commented on 2020-04-14 08:00

Hello,

Thank you for your feedback, I fixed most of the points! The project does not provide a LICENSE which can installed, but I fixed in the PKGBUILD, at least. The project's submodules are not required to be pulled - this is all done by autogen.sh.

I could not reproduce the error during build and the error message doesn't really give anything away, unfortunately. Could you post the preceding lines from the build log? Maybe you are missing some dependencies that I had installed by chance?

Please check if you can build the package manually:

git clone https://github.com/quixdb/squash.git cd squash ./autogen.sh --prefix=/usr make

You can check your dependencies by running "cmake ." instead of "make". For me, this output looks like this: https://pastebin.com/mkJ6Vb4x .

FabioLolix commented on 2020-04-13 11:15

Hello,

The package don't build for me:

[ 68%] Built target squash0.8-plugin-lzham make: *** [Makefile:183: all] Errore 2

  • The license is MIT and looking at the pkgbuild will not be installed in the package

  • git is needed as makedepends

  • autogen.sh should be in prepare()

  • the 'v' should be cut from pkgver

  • there are dozens of git submodules which should be added in source() and configured in prepare()

https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git