I opened this report for issues needed to be fix at upstream level while in building process for snap package.
Add default universal setup method: make; make install
Current method: make build; make install_api; make install_desktop confusing packagers with custom build scripts that can break in future releases.
Use sed (standard gnu tool) instead of introducing new build dependency on perl in Makefile similar syntax:
sed -i 's|/usr/bin|$SNAP/usr/bin|g' my-bin-artifact.sh
Introduce new make entry for flat/portable package. to be used for most all-in-one build systems: snapcraft, flatpak, appimage, edge/daily/portable builds
I opened this report for issues needed to be fix at upstream level while in building process for snap package.
Add default universal setup method:
make; make install
Current method:
make build; make install_api; make install_desktop
confusing packagers with custom build scripts that can break in future releases.Use
sed
(standard gnu tool) instead of introducing new build dependency onperl
inMakefile
similar syntax:sed -i 's|/usr/bin|$SNAP/usr/bin|g' my-bin-artifact.sh
Introduce new
make
entry for flat/portable package. to be used for most all-in-one build systems: snapcraft, flatpak, appimage, edge/daily/portable buildsRemove the hardcoded python hashbang:
#!/home/username/Desktop/sandbox/alfanous-snap/parts/alfanous-git/install/usr/bin/python
./parts/partname/install
is the tmp install path forsnapcraft