1
0
Fork 0
forked from murx/murx

Move OS packaging directories under os

This commit is contained in:
Johannes Findeisen 2026-11-23 13:06:31 +01:00
commit 79e4bcdd68
26 changed files with 51 additions and 41 deletions

16
os/gentoo/README.md Normal file
View file

@ -0,0 +1,16 @@
# Build the Gentoo package
Copy the [`app-misc/murx` directory](app-misc/murx/) into a configured local
Portage overlay. Keep the ebuild and Manifest together. The ebuild fetches and
verifies the tagged release archive and builds it from source.
On an amd64 system using stable keywords, add `app-misc/murx ~amd64` to
`/etc/portage/package.accept_keywords` or a file in that directory. Then run:
```sh
emerge --ask app-misc/murx
```
To prepare a new package version, copy the ebuild to a filename with the new
version and run `ebuild murx-VERSION.ebuild manifest` from the package
directory after publishing the matching tag.

View file

@ -0,0 +1 @@
DIST murx-1.0.3.tar.gz 564342 BLAKE2B 7132cff9c517537fd1bd2b0aeedb0c90a274810d31515b941f5a63288790b299aa24744134afd1c2b4c9f0439077fb1262626115535338fcfc5182f65a8308af SHA512 658dadaafac4561a87dc7be1a6c094cc06eca9ea44f8c756ac7e913841c4ebe13d00da5f4ff415fa96b4b91f171e567b2c18d8ad2f735746644fd9c344643b28

View file

@ -0,0 +1,29 @@
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Small persistent terminal multiplexer"
HOMEPAGE="https://xw3.org/murx/murx"
SRC_URI="https://xw3.org/murx/murx/archive/${P}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DOCS=( README.md AUTHORS RELEASES.md )
src_compile() {
tc-export CC
emake
}
src_test() {
./murx --help >/dev/null || die "murx --help failed"
[[ $(./murx --version) == "${PN} ${PV}" ]] || die "Unexpected murx version"
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
einstalldocs
}