sget - easily install software from source packages

Moderator: Forum moderators

Post Reply
User avatar
sc0ttman
Posts: 93
Joined: Sat Aug 22, 2020 3:55 pm
Has thanked: 4 times
Been thanked: 33 times

sget - easily install software from source packages

Post by sc0ttman »

sget

Homepage: https://github.com/d99kris/sget

This is like a smaller, simpler src2pkg. Tested and working in Fossapup64.

I'd imagine it can be forked and extended to support even more build methods without too much fuss 8-)

From the homepage:

Sget (source get) - is a small utility facilitating installation of software from source packages, by automating the process of >downloading the source and doing configure, make, make install.

It supports installation from a remote Git/Subversion repository, an URL to a source package, a local file path to a source package >or a local directory path.

Most common package/archive formats (tar, zip, rar, etc) are supported.

It supports plain Makefile as well as several generators: autogen, cmake, configure, qmake

Usage

Code: Select all

sget install https://github.com/tmux/tmux           # install from repository

sget install ~/Downloads/tmux-2.8.tar.gz            # install local package

sget install ~/tmux-2.8                             # install local dir

sget remove https://github.com/tmux/tmux            # uninstall
User avatar
sc0ttman
Posts: 93
Joined: Sat Aug 22, 2020 3:55 pm
Has thanked: 4 times
Been thanked: 33 times

Re: sget - easily install software from source packages

Post by sc0ttman »

I'm gonna look into forking and extending sget sometime, so that it can install stuff from as many different kinds of repos as possible.

Idea from https://github.com/soraxas/shsh:

Any files inside a bin directory are added to $PATH. If there is no bin directory, any executable files in the package root are added to $PATH.

Any man pages (files ended in \.[0-9]) inside a man directory are added to the man path.

We should also make it aware of how to compile and install progrrams from various popular buildscripts:

- Arch Linux PKGBUILDs
- CRUX Pkgfiles
- Slackware SboPkg
- Petbuilds
- and so on

In addition to:

- Makefiles
- Cmake projects (including meson, ninja, bison, etc)
- Go based projects
- ???

...Please post any more ideas about extending sget, so it can "auto [compile and] install" stuff from even Github repos!

Post Reply

Return to “Compiling”