Compare commits

...

5 Commits

Author SHA1 Message Date
Elara 6238542507
Merge pull request #5 from vaporup/patch-2 2022-09-28 18:17:46 -07:00
Sven Wick 98ffff404a
Update README.md 2022-09-29 03:16:16 +02:00
Sven Wick c3aba08681
Merge branch 'Arsen6331:master' into patch-2 2022-09-28 22:43:04 +02:00
Sven Wick 57a75aa54e
Update README.md 2022-09-28 21:45:00 +02:00
Sven Wick 438eef3213
Update README.md
Add doc for cross-packaging
2022-09-28 21:43:36 +02:00
1 changed files with 14 additions and 0 deletions

View File

@ -58,6 +58,20 @@ Distro detection is performed by reading the `/usr/lib/os-release` and `/etc/os-
---
## Cross-packaging for other Distributions
You can create packages for different distributions
setting the environment variables `LURE_DISTRO` and `LURE_PKG_FORMAT`.
```
LURE_DISTRO=arch LURE_PKG_FORMAT=archlinux lure build
LURE_DISTRO=alpine LURE_PKG_FORMAT=apk lure build
LURE_DISTRO=opensuse LURE_PKG_FORMAT=rpm lure build
LURE_DISTRO=debian LURE_PKG_FORMAT=deb lure build
```
---
## Repositories
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.