Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: rc-sircmpwn
@ 2024-02-17  1:45 Pestdoktor
  2024-02-17  2:19 ` [PR PATCH] [Updated] " Pestdoktor
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pestdoktor @ 2024-02-17  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]

There is a new pull request by Pestdoktor against master on the void-packages repository

https://github.com/Pestdoktor/void-packages rc
https://github.com/void-linux/void-packages/pull/48787

New package: rc-sircmpwn
<!-- Uncomment relevant sections and delete options which are not applicable -->

Draft PR pending upstream releases

separate hare PR at #48783

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48787.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rc-48787.patch --]
[-- Type: text/x-diff, Size: 7767 bytes --]

From 088de196826fea517e9b8299abeab98a918678f5 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 00:34:18 +0100
Subject: [PATCH 1/5] qbe: update to 1.2.

---
 srcpkgs/qbe/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qbe/template b/srcpkgs/qbe/template
index e56a69ffcc107b..461f943544dfab 100644
--- a/srcpkgs/qbe/template
+++ b/srcpkgs/qbe/template
@@ -1,6 +1,6 @@
 # Template file for 'qbe'
 pkgname=qbe
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
@@ -9,7 +9,7 @@ maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
 license="MIT"
 homepage="https://c9x.me/compile/"
 distfiles="https://c9x.me/compile/release/qbe-${version}.tar.xz"
-checksum=7d0a53dd40df48072aae317e11ddde15d1a980673160e514e235b9ecaa1db12c
+checksum=a6d50eb952525a234bf76ba151861f73b7a382ac952d985f2b9af1df5368225d
 
 # Currently only aarch64 and x86_64 targets are supported and the checks
 # test the compiled binaries.

From 2af5d535114667f54b77d57e3041d770197164d5 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 00:36:25 +0100
Subject: [PATCH 2/5] New package: harec-0.24.0

---
 srcpkgs/harec/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/harec/template

diff --git a/srcpkgs/harec/template b/srcpkgs/harec/template
new file mode 100644
index 00000000000000..347afacb8c69be
--- /dev/null
+++ b/srcpkgs/harec/template
@@ -0,0 +1,16 @@
+# Template file for 'harec'
+pkgname=harec
+version=0.24.0
+revision=1
+build_style=configure
+checkdepends="qbe"
+short_desc="Hare bootstrap compiler"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="GPL-3.0-only"
+homepage="https://git.sr.ht/~sircmpwn/harec"
+distfiles="https://git.sr.ht/~sircmpwn/${pkgname}/archive/${version}.tar.gz"
+checksum="add6a7c4cbfd130c5e9fcecd2d43bec39640ed9f9cfbe9166e4b7e945a46b7de"
+
+do_configure() {
+	sed 's|^PREFIX = /usr/local$|PREFIX = /usr|' configs/linux.mk > config.mk
+}

From 4b8f94d69b24851a22e2b7f686ec6ba6d583eff9 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 00:37:22 +0100
Subject: [PATCH 3/5] New package: hare-0.24.0

---
 srcpkgs/hare/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/hare/template

diff --git a/srcpkgs/hare/template b/srcpkgs/hare/template
new file mode 100644
index 00000000000000..ee61e25607a54b
--- /dev/null
+++ b/srcpkgs/hare/template
@@ -0,0 +1,17 @@
+# Template file for 'hare'
+pkgname=hare
+version=0.24.0
+revision=1
+build_style=configure
+hostmakedepends="qbe harec scdoc"
+depends="qbe-1.2_1 harec-0.24.0_1"
+short_desc="Systems programming language"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="MPL-2.0, GPL-3.0-only"
+homepage="https://harelang.org/"
+distfiles="https://git.sr.ht/~sircmpwn/${pkgname}/archive/${version}.tar.gz"
+checksum="7061dad3c79cca51a1662a71b1c6f8ec001f52ef3053dd3c2dbb95ae9beff7bc"
+
+do_configure() {
+	sed 's|^PREFIX = /usr/local$|PREFIX = /usr|' configs/linux.mk > config.mk
+}

From 0767ecb073618e35e9e89c942ecbab789663cfdb Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 01:53:52 +0100
Subject: [PATCH 4/5] New package: madeline

---
 srcpkgs/madeline/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/madeline/template

diff --git a/srcpkgs/madeline/template b/srcpkgs/madeline/template
new file mode 100644
index 00000000000000..a2e58988a64982
--- /dev/null
+++ b/srcpkgs/madeline/template
@@ -0,0 +1,17 @@
+# Template file for 'madeline'
+pkgname=madeline
+version=99git
+_version=96bb0c28a8b59f7d96b9573447e6d1739d7ded7b
+revision=1
+short_desc="tiny readline-alike with some batteries included"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="WTFPL"
+homepage="https://git.sr.ht/~ecs/madeline"
+distfiles="https://git.sr.ht/~ecs/${pkgname}/archive/${_version}.tar.gz"
+checksum="16bba8ddb9102cfd108051fe1b92a48de25b43f9192460fcb822244ab7884236"
+
+do_install() {
+	vmkdir /usr/src/hare/third-party
+	vcopy graph /usr/src/hare/third-party
+	vcopy made /usr/src/hare/third-party
+}

From 247615688c968ae4b52c73522480f3212918fd52 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 01:56:27 +0100
Subject: [PATCH 5/5] New package: rc-sircmpwn

---
 .../patches/01-update-madeline-usage.patch    | 33 +++++++++++++++++++
 srcpkgs/rc-sircmpwn/template                  | 25 ++++++++++++++
 srcpkgs/rc/template                           |  5 +++
 3 files changed, 63 insertions(+)
 create mode 100644 srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch
 create mode 100644 srcpkgs/rc-sircmpwn/template

diff --git a/srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch b/srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch
new file mode 100644
index 00000000000000..b842d37c787fcf
--- /dev/null
+++ b/srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch
@@ -0,0 +1,33 @@
+diff --git a/cmd/rc/interactive.ha b/cmd/rc/interactive.ha
+index 1ab4003..ef3c6a0 100644
+--- a/cmd/rc/interactive.ha
++++ b/cmd/rc/interactive.ha
+@@ -24,13 +24,13 @@ type prompter = struct {
+ 	prompt: str,
+ };
+ 
+-fn prompt_get(p: *made::prompter, buf: []u8, pos: size) (str, str) = {
++fn prompt_get(p: *made::prompter, s: *made::state) (str, str) = {
+ 	let p = p: *prompter;
+ 	let loc = p.parser.lex.loc;
+ 	defer p.parser.lex.loc = loc;
+ 	io::seek(p.in, 0, io::whence::SET)!;
+ 	memio::reset(p.in);
+-	io::writeall(p.in, buf)!;
++	io::writeall(p.in, s.buf)!;
+ 	io::seek(p.in, 0, io::whence::SET)!;
+ 
+ 	let post = match (parse::parse_commands(p.parser)) {
+@@ -67,6 +67,12 @@ fn interactive(state: *interp::state) void = {
+ 		hist = &hist,
+ 		prompt = &p,
+ 		split = made::split_sh,
++		cfg = match (made::config_default("example")) {
++		case let cfg: made::config =>
++			yield cfg;
++		case let e: made::error =>
++			fmt::fatal(made::strerror(e));
++		},
+ 		...
+ 	};
+ 	defer made::ctx_finish(&ctx)!;
diff --git a/srcpkgs/rc-sircmpwn/template b/srcpkgs/rc-sircmpwn/template
new file mode 100644
index 00000000000000..a4533532b51326
--- /dev/null
+++ b/srcpkgs/rc-sircmpwn/template
@@ -0,0 +1,25 @@
+# Template file for 'rc-sircmpwn'
+pkgname=rc-sircmpwn
+version=99git
+_version=efa26af8ee3af657c49693a8dd6ac25ef67fbe04
+revision=1
+build_style=configure
+hostmakedepends="hare scdoc"
+makedepends="madeline"
+short_desc="Simple shell"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="GPL-3.0-only"
+homepage="https://git.sr.ht/~sircmpwn/rc"
+distfiles="https://git.sr.ht/~sircmpwn/rc/archive/${_version}.tar.gz"
+checksum="ad6d2894304e8c7cbed31aea8e029d34940fa8077200be477510fd7071d1e098"
+alternatives="rc:/usr/bin/rc:/usr/bin/rc-sircmpwn"
+register_shell="/bin/rc"
+
+do_configure() {
+	sed -i 's|^PREFIX=/usr/local$|PREFIX=/usr|' Makefile
+}
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/rc ${DESTDIR}/usr/bin/rc-sircmpwn
+	mv ${DESTDIR}/usr/share/man/man1/rc.1 ${DESTDIR}/usr/share/man/man1/rc-sircmpwn.1
+}
diff --git a/srcpkgs/rc/template b/srcpkgs/rc/template
index 12d2169be11149..005791bd5669c7 100644
--- a/srcpkgs/rc/template
+++ b/srcpkgs/rc/template
@@ -15,6 +15,7 @@ license="Zlib"
 homepage="https://github.com/rakitzis/rc"
 distfiles="https://github.com/rakitzis/rc/archive/refs/tags/v${version}.tar.gz"
 checksum=0b83f8698dd8ef44ca97b25c4748c087133f53c7fff39b6b70dab65931def8b0
+alternatives="rc:/usr/bin/rc:/usr/bin/rc-rakitzis"
 register_shell="/bin/rc"
 
 build_options="readline libedit static"
@@ -36,3 +37,7 @@ pre_build() {
 			sigmsgs.c sigmsgs.h statval.h
 	fi
 }
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/rc ${DESTDIR}/usr/bin/rc-rakitzis
+}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] New package: rc-sircmpwn
  2024-02-17  1:45 [PR PATCH] New package: rc-sircmpwn Pestdoktor
@ 2024-02-17  2:19 ` Pestdoktor
  2024-02-17  2:20 ` [PR PATCH] [Closed]: " ahesford
  2024-02-17  2:20 ` ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: Pestdoktor @ 2024-02-17  2:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]

There is an updated pull request by Pestdoktor against master on the void-packages repository

https://github.com/Pestdoktor/void-packages rc
https://github.com/void-linux/void-packages/pull/48787

New package: rc-sircmpwn
<!-- Uncomment relevant sections and delete options which are not applicable -->

Draft PR pending upstream releases

separate hare PR at #48783

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/48787.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rc-48787.patch --]
[-- Type: text/x-diff, Size: 7812 bytes --]

From 088de196826fea517e9b8299abeab98a918678f5 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 00:34:18 +0100
Subject: [PATCH 1/5] qbe: update to 1.2.

---
 srcpkgs/qbe/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qbe/template b/srcpkgs/qbe/template
index e56a69ffcc107b..461f943544dfab 100644
--- a/srcpkgs/qbe/template
+++ b/srcpkgs/qbe/template
@@ -1,6 +1,6 @@
 # Template file for 'qbe'
 pkgname=qbe
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
@@ -9,7 +9,7 @@ maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
 license="MIT"
 homepage="https://c9x.me/compile/"
 distfiles="https://c9x.me/compile/release/qbe-${version}.tar.xz"
-checksum=7d0a53dd40df48072aae317e11ddde15d1a980673160e514e235b9ecaa1db12c
+checksum=a6d50eb952525a234bf76ba151861f73b7a382ac952d985f2b9af1df5368225d
 
 # Currently only aarch64 and x86_64 targets are supported and the checks
 # test the compiled binaries.

From 2af5d535114667f54b77d57e3041d770197164d5 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 00:36:25 +0100
Subject: [PATCH 2/5] New package: harec-0.24.0

---
 srcpkgs/harec/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/harec/template

diff --git a/srcpkgs/harec/template b/srcpkgs/harec/template
new file mode 100644
index 00000000000000..347afacb8c69be
--- /dev/null
+++ b/srcpkgs/harec/template
@@ -0,0 +1,16 @@
+# Template file for 'harec'
+pkgname=harec
+version=0.24.0
+revision=1
+build_style=configure
+checkdepends="qbe"
+short_desc="Hare bootstrap compiler"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="GPL-3.0-only"
+homepage="https://git.sr.ht/~sircmpwn/harec"
+distfiles="https://git.sr.ht/~sircmpwn/${pkgname}/archive/${version}.tar.gz"
+checksum="add6a7c4cbfd130c5e9fcecd2d43bec39640ed9f9cfbe9166e4b7e945a46b7de"
+
+do_configure() {
+	sed 's|^PREFIX = /usr/local$|PREFIX = /usr|' configs/linux.mk > config.mk
+}

From 4b8f94d69b24851a22e2b7f686ec6ba6d583eff9 Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 00:37:22 +0100
Subject: [PATCH 3/5] New package: hare-0.24.0

---
 srcpkgs/hare/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/hare/template

diff --git a/srcpkgs/hare/template b/srcpkgs/hare/template
new file mode 100644
index 00000000000000..ee61e25607a54b
--- /dev/null
+++ b/srcpkgs/hare/template
@@ -0,0 +1,17 @@
+# Template file for 'hare'
+pkgname=hare
+version=0.24.0
+revision=1
+build_style=configure
+hostmakedepends="qbe harec scdoc"
+depends="qbe-1.2_1 harec-0.24.0_1"
+short_desc="Systems programming language"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="MPL-2.0, GPL-3.0-only"
+homepage="https://harelang.org/"
+distfiles="https://git.sr.ht/~sircmpwn/${pkgname}/archive/${version}.tar.gz"
+checksum="7061dad3c79cca51a1662a71b1c6f8ec001f52ef3053dd3c2dbb95ae9beff7bc"
+
+do_configure() {
+	sed 's|^PREFIX = /usr/local$|PREFIX = /usr|' configs/linux.mk > config.mk
+}

From 337059ba5649938332301bd1f37057f9ce9575ec Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 01:53:52 +0100
Subject: [PATCH 4/5] New package: hare-madeline

---
 srcpkgs/hare-madeline/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/hare-madeline/template

diff --git a/srcpkgs/hare-madeline/template b/srcpkgs/hare-madeline/template
new file mode 100644
index 00000000000000..2a3d60ee04d119
--- /dev/null
+++ b/srcpkgs/hare-madeline/template
@@ -0,0 +1,17 @@
+# Template file for 'hare-madeline'
+pkgname=hare-madeline
+version=99git
+revision=1
+_version=96bb0c28a8b59f7d96b9573447e6d1739d7ded7b
+short_desc="Tiny readline-alike with some batteries included"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="WTFPL"
+homepage="https://git.sr.ht/~ecs/madeline"
+distfiles="https://git.sr.ht/~ecs/${pkgname}/archive/${_version}.tar.gz"
+checksum="16bba8ddb9102cfd108051fe1b92a48de25b43f9192460fcb822244ab7884236"
+
+do_install() {
+	vmkdir /usr/src/hare/third-party
+	vcopy graph /usr/src/hare/third-party
+	vcopy made /usr/src/hare/third-party
+}

From c8fa04c30c153fc904dd27b09b86d93ab853af4e Mon Sep 17 00:00:00 2001
From: Jonas Fentker <jonas@fentker.eu>
Date: Sat, 17 Feb 2024 01:56:27 +0100
Subject: [PATCH 5/5] New package: rc-sircmpwn

---
 .../patches/01-update-madeline-usage.patch    | 33 +++++++++++++++++++
 srcpkgs/rc-sircmpwn/template                  | 25 ++++++++++++++
 srcpkgs/rc/template                           |  5 +++
 3 files changed, 63 insertions(+)
 create mode 100644 srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch
 create mode 100644 srcpkgs/rc-sircmpwn/template

diff --git a/srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch b/srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch
new file mode 100644
index 00000000000000..b842d37c787fcf
--- /dev/null
+++ b/srcpkgs/rc-sircmpwn/patches/01-update-madeline-usage.patch
@@ -0,0 +1,33 @@
+diff --git a/cmd/rc/interactive.ha b/cmd/rc/interactive.ha
+index 1ab4003..ef3c6a0 100644
+--- a/cmd/rc/interactive.ha
++++ b/cmd/rc/interactive.ha
+@@ -24,13 +24,13 @@ type prompter = struct {
+ 	prompt: str,
+ };
+ 
+-fn prompt_get(p: *made::prompter, buf: []u8, pos: size) (str, str) = {
++fn prompt_get(p: *made::prompter, s: *made::state) (str, str) = {
+ 	let p = p: *prompter;
+ 	let loc = p.parser.lex.loc;
+ 	defer p.parser.lex.loc = loc;
+ 	io::seek(p.in, 0, io::whence::SET)!;
+ 	memio::reset(p.in);
+-	io::writeall(p.in, buf)!;
++	io::writeall(p.in, s.buf)!;
+ 	io::seek(p.in, 0, io::whence::SET)!;
+ 
+ 	let post = match (parse::parse_commands(p.parser)) {
+@@ -67,6 +67,12 @@ fn interactive(state: *interp::state) void = {
+ 		hist = &hist,
+ 		prompt = &p,
+ 		split = made::split_sh,
++		cfg = match (made::config_default("example")) {
++		case let cfg: made::config =>
++			yield cfg;
++		case let e: made::error =>
++			fmt::fatal(made::strerror(e));
++		},
+ 		...
+ 	};
+ 	defer made::ctx_finish(&ctx)!;
diff --git a/srcpkgs/rc-sircmpwn/template b/srcpkgs/rc-sircmpwn/template
new file mode 100644
index 00000000000000..200b4b93a3fbd6
--- /dev/null
+++ b/srcpkgs/rc-sircmpwn/template
@@ -0,0 +1,25 @@
+# Template file for 'rc-sircmpwn'
+pkgname=rc-sircmpwn
+version=99git
+_version=efa26af8ee3af657c49693a8dd6ac25ef67fbe04
+revision=1
+build_style=configure
+hostmakedepends="hare scdoc"
+makedepends="hare-madeline"
+short_desc="Simple shell"
+maintainer="Jonas Fentker <jonas@fentker.eu>"
+license="GPL-3.0-only"
+homepage="https://git.sr.ht/~sircmpwn/rc"
+distfiles="https://git.sr.ht/~sircmpwn/rc/archive/${_version}.tar.gz"
+checksum="ad6d2894304e8c7cbed31aea8e029d34940fa8077200be477510fd7071d1e098"
+alternatives="rc:/usr/bin/rc:/usr/bin/rc-sircmpwn"
+register_shell="/bin/rc"
+
+do_configure() {
+	sed -i 's|^PREFIX=/usr/local$|PREFIX=/usr|' Makefile
+}
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/rc ${DESTDIR}/usr/bin/rc-sircmpwn
+	mv ${DESTDIR}/usr/share/man/man1/rc.1 ${DESTDIR}/usr/share/man/man1/rc-sircmpwn.1
+}
diff --git a/srcpkgs/rc/template b/srcpkgs/rc/template
index 12d2169be11149..005791bd5669c7 100644
--- a/srcpkgs/rc/template
+++ b/srcpkgs/rc/template
@@ -15,6 +15,7 @@ license="Zlib"
 homepage="https://github.com/rakitzis/rc"
 distfiles="https://github.com/rakitzis/rc/archive/refs/tags/v${version}.tar.gz"
 checksum=0b83f8698dd8ef44ca97b25c4748c087133f53c7fff39b6b70dab65931def8b0
+alternatives="rc:/usr/bin/rc:/usr/bin/rc-rakitzis"
 register_shell="/bin/rc"
 
 build_options="readline libedit static"
@@ -36,3 +37,7 @@ pre_build() {
 			sigmsgs.c sigmsgs.h statval.h
 	fi
 }
+
+post_install() {
+	mv ${DESTDIR}/usr/bin/rc ${DESTDIR}/usr/bin/rc-rakitzis
+}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New package: rc-sircmpwn
  2024-02-17  1:45 [PR PATCH] New package: rc-sircmpwn Pestdoktor
  2024-02-17  2:19 ` [PR PATCH] [Updated] " Pestdoktor
  2024-02-17  2:20 ` [PR PATCH] [Closed]: " ahesford
@ 2024-02-17  2:20 ` ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2024-02-17  2:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/48787#issuecomment-1949608110

Comment:
Please wait for the software to be released before opening new-package PRs.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: New package: rc-sircmpwn
  2024-02-17  1:45 [PR PATCH] New package: rc-sircmpwn Pestdoktor
  2024-02-17  2:19 ` [PR PATCH] [Updated] " Pestdoktor
@ 2024-02-17  2:20 ` ahesford
  2024-02-17  2:20 ` ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2024-02-17  2:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

There's a closed pull request on the void-packages repository

New package: rc-sircmpwn
https://github.com/void-linux/void-packages/pull/48787

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Draft PR pending upstream releases

separate hare PR at #48783

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-17  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17  1:45 [PR PATCH] New package: rc-sircmpwn Pestdoktor
2024-02-17  2:19 ` [PR PATCH] [Updated] " Pestdoktor
2024-02-17  2:20 ` [PR PATCH] [Closed]: " ahesford
2024-02-17  2:20 ` ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).