From 438eef3213484af6cf9cca08d08fb741586ea2aa Mon Sep 17 00:00:00 2001 From: Sven Wick Date: Wed, 28 Sep 2022 21:43:36 +0200 Subject: [PATCH 1/3] Update README.md Add doc for cross-packaging --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 6854852..240ab19 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,19 @@ 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. From 57a75aa54ead1e6694a7168f40bdadcfb0e4121c Mon Sep 17 00:00:00 2001 From: Sven Wick Date: Wed, 28 Sep 2022 21:45:00 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 240ab19..54da026 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,8 @@ 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```. +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 From 98ffff404ac62c28c04a002288d1045429b54e79 Mon Sep 17 00:00:00 2001 From: Sven Wick Date: Thu, 29 Sep 2022 03:16:16 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54da026..5c180fe 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ 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```. +setting the environment variables `LURE_DISTRO` and `LURE_PKG_FORMAT`. ``` LURE_DISTRO=arch LURE_PKG_FORMAT=archlinux lure build