Hello all, As I suggested earlier, I'm attaching an example implementation of github-snapshot.eclass.
All the eclass does is providing a default src_unpack() unpacking the github snapshot into ${S}. Right now it simply does call default src_unpack() and then does a fuzzy `mv' but that can change in the future. The eclass doesn't modify S or SRC_URI itself. An ebuild using it should look like the following: #v+ EAPI=4 inherit github-snapshot DESCRIPTION="Random github package" HOMEPAGE="https://github.com/foo/bar" SRC_URI="http://github.com/foo/${PN}/tarball/${P} -> ${P}.tar.gz" # [...] #v- -- Best regards, Michał Górny
github-snapshot.eclass
Description: application/shellscript
signature.asc
Description: PGP signature