Add Gentoo packaging for murx 1.0.3
This commit is contained in:
parent
a04c064fdd
commit
33683c8344
6 changed files with 46 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,5 +1,5 @@
|
|||
# Build files
|
||||
murx
|
||||
/murx
|
||||
*.o
|
||||
src/
|
||||
|
||||
|
|
|
|||
2
APKBUILD
2
APKBUILD
|
|
@ -29,7 +29,7 @@ sha512sums="
|
|||
68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c
|
||||
ebce5c1268253d4dbf1cc1c7d6200c3bad97cba6361d8ff3c5d4563b670565a1a70d83d7bcb2dc0b1ca9fad9ca49d2ff8366b21ac73fb26cb7b46730d0acc425 Makefile
|
||||
219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1
|
||||
5b0da48df43e7c13ac8447dda8fb0f57bf4c5bacb630e39d9f2105a4ee4a0485b80fb0e3c4a7f88ac16411f5e4c88bdf81ac67ccf4805af3beb68cf7e1725f0d README.md
|
||||
8353d847c8d49c3f74956f17612528c1d20b20e7f981f352a2ca601ce93222c99ef3e0c034e14648df1a466376148cb1f06d3078f3a98bc1a9a00f0e3aa71c02 README.md
|
||||
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
|
||||
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
|
||||
"
|
||||
|
|
|
|||
2
PKGBUILD
2
PKGBUILD
|
|
@ -11,7 +11,7 @@ source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS')
|
|||
sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d'
|
||||
'4301fe8afe6a6e7cc665d8820ec43047f6af6f3b394a3a3a4f6e52dcf32fdec2'
|
||||
'953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b'
|
||||
'ce2b324f9524663b1c0af9b9d064aa5dd80fc0a5cdfe6eff10c416c2faf9acae'
|
||||
'a9231e00964b19553032f531832fa532f231dcedf3d6c7c0e52a1e2761bfd6c7'
|
||||
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
|
||||
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')
|
||||
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -474,6 +474,19 @@ makepkg -si
|
|||
This builds the package and installs it through pacman. The recipe lists
|
||||
`x86_64` and `aarch64`; builds run on the current architecture.
|
||||
|
||||
For Gentoo, copy the [`app-misc/murx` package directory](gentoo/app-misc/murx)
|
||||
into a configured local Portage overlay. The ebuild fetches the tagged release
|
||||
archive and includes a Manifest with its checksums. It is keyworded `~amd64`;
|
||||
accept that keyword for `app-misc/murx` if your system uses stable keywords.
|
||||
Then install it with:
|
||||
|
||||
```sh
|
||||
emerge --ask app-misc/murx
|
||||
```
|
||||
|
||||
For a new Gentoo release, copy the ebuild to the new versioned filename and
|
||||
run `ebuild murx-VERSION.ebuild manifest` after publishing the matching tag.
|
||||
|
||||
After changing a packaged source file, run `make pkgsums` to sync both package
|
||||
versions and refresh both sets of checksums. This target requires `abuild`
|
||||
and `updpkgsums` (from `pacman-contrib`). Neither recipe
|
||||
|
|
|
|||
1
gentoo/app-misc/murx/Manifest
Normal file
1
gentoo/app-misc/murx/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST murx-1.0.3.tar.gz 564342 BLAKE2B 7132cff9c517537fd1bd2b0aeedb0c90a274810d31515b941f5a63288790b299aa24744134afd1c2b4c9f0439077fb1262626115535338fcfc5182f65a8308af SHA512 658dadaafac4561a87dc7be1a6c094cc06eca9ea44f8c756ac7e913841c4ebe13d00da5f4ff415fa96b4b91f171e567b2c18d8ad2f735746644fd9c344643b28
|
||||
29
gentoo/app-misc/murx/murx-1.0.3.ebuild
Normal file
29
gentoo/app-misc/murx/murx-1.0.3.ebuild
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue