||4 months ago|
|distro||4 months ago|
|docs||4 months ago|
|download||4 months ago|
|internal||4 months ago|
|manager||4 months ago|
|.gitignore||4 months ago|
|.goreleaser.yaml||4 months ago|
|LICENSE||4 months ago|
|Makefile||4 months ago|
|README.md||4 months ago|
|build.go||4 months ago|
|config.go||4 months ago|
|go.mod||4 months ago|
|go.sum||4 months ago|
|info.go||4 months ago|
|install.go||4 months ago|
|list.go||4 months ago|
|main.go||4 months ago|
|repo.go||4 months ago|
|upgrade.go||4 months ago|
|version.go||4 months ago|
|version_test.go||4 months ago|
LURE (Linux User REpository)
LURE is intended to bring the AUR to all distros. It is currently in an alpha state and may not be stable. It can download a repository, build packages in it using a bash script similar to PKGBUILD, and then install them using your system package manager.
LURE is written in pure Go and has zero dependencies after it's built. The only things LURE needs are a command for privilege elevation such as
doas, etc. as well as a supported package manager. Currently, LURE supports
zypper. If a supported package manager exists on your system, it will be detected and used automatically.
Distro packages and binary archives are provided at the latest Gitea release: https://gitea.arsenm.dev/Arsen6331/lure/releases/latest
LURE is also available on the AUR as lure-bin
Building from source
To build LURE from source, you'll need Go 1.18 or newer. Once Go is installed, clone this repo and run:
sudo make install
The AUR is an amazing feature, and it's one of the main reasons I use Arch on all my daily driver devices. It is really simple while providing really useful functionality. I feel such a solution shouldn't be stuck in only a single distro, so I made LURE.
Like the AUR, it uses simple bash build scripts, but it doesn't depend on bash being installed at all. It uses an embedded, pure Go implementation of bash instead. Similarly, it uses Git to download the repos and sources, but doesn't depend on Git being installed.
This means it's really easy to deploy LURE on any distro that it has support for and on any CPU architecture. It also supports and automatically detects many package managers, so it's not limited to just
The documentation for LURE is in the docs directory in this repo.
Unlike the AUR, LURE supports using multiple repos. Also unlike the AUR, LURE's repos are a single git repo containing all the build scripts. Inside each LURE repo, there should be a separate directory for each package containing a
lure.sh script, which is a PKGBUILD-like build script for LURE. The default repository is hosted on Github: https://github.com/Arsen6331/lure-repo.
As mentioned before, LURE has zero dependencies after it's built. All functionality that could be pure Go is pure Go. Thanks to the following packages for making this possible:
- Bash: https://github.com/mvdan/sh
- Git: https://github.com/go-git/go-git
- Archiver: https://github.com/mholt/archiver
- nfpm: https://github.com/goreleaser/nfpm
- Automated install script
- Automated docker-based testing tool
- Web interface for repos