diff --git a/README.md b/README.md index 87bbd70..635a8ef 100644 --- a/README.md +++ b/README.md @@ -41,20 +41,6 @@ The documentation for LURE is in the [docs](docs) directory in this repo. --- -## 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. diff --git a/docs/usage.md b/docs/usage.md index d025dd2..d92d75e 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -111,6 +111,8 @@ Example: lure ref ``` +--- + ## Environment Variables ### LURE_DISTRO @@ -137,4 +139,22 @@ The `LURE_ARM_VARIANT` environment variable dictates which ARM variant to build - `arm5` - `arm6` -- `arm7` \ No newline at end of file +- `arm7` + +--- + +## Cross-packaging for other Distributions + +You can create packages for different distributions +setting the environment variables `LURE_DISTRO` and `LURE_PKG_FORMAT` as mentioned above. + +Examples: + +``` +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 +``` + +--- \ No newline at end of file