Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: CBQN-git-20230503
Date: Thu, 04 May 2023 20:38:42 +0200	[thread overview]
Message-ID: <20230504183842.MSj5Hau-4c0SjJsannu28G6qP65KfmnRJdZs4lwQ3Jc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43737@inbox.vuxu.org>

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/43737#issuecomment-1535234152

Comment:
You'd need to grab the modules as `distfiles` and put them in place.

```
_singeli_hash=853ab1a06ae8d8603f228d8e784fa319cc401459
_replxx_hash=1da4681a8814366ec51e7630b76558e53be0997d
_bytecode_hash=78ed4102f914eb5fa490d76d4dcd4f8be6e53417
distfiles="https://github.com/dzaima/CBQN/archive/v${version}.tar.gz
 https://github.com/mlochbaum/Singeli/archive/${_singeli_hash}.tar.gz
 https://github.com/dzaima/replxx/archive/${_replxx_hash}.tar.gz
 https://github.com/dzaima/cbqnBytecode/archive/${_bytecode_hash}.tar.gz"
checksum="70525117364edefb6c8906e269a5b1b17c8647f516b6599fecdc53ba6e57530e
 a0a8b48aac23bfa458c3af13cfcad1fb6889151e72b7983e85521245e367c1d4
 60ba4d8b566d8af1330f2f4b67d712da8efeb018f53f5055898d8b86a325088f
 f99c10fc674e673bd8253a90e9676d070aadb4decc3f59766bed3b0295f47a1a"

post_extract() {
    rm -r CBQN-${version}/build/{bytecode,replxx,singeli}Submodule
    mv "cbqnBytecode-${_bytecode_hash}" "CBQN-${version}/build/bytecodeSubmodule"     
    mv "replxx-${_replxx_hash}" "CBQN-${version}/build/replxxSubmodule"
    mv "Singeli-${_singeli_hash}" "CBQN-${version}/build/singeliSubmodule"
    cd $build_wrksrc
    vsed -i makefile -e 's/@git/@true/g'
}
```

  parent reply	other threads:[~2023-05-04 18:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-03 22:14 [PR PATCH] " BryceVandegrift
2023-05-03 22:15 ` classabbyamp
2023-05-03 22:16 ` [PR PATCH] [Closed]: " BryceVandegrift
2023-05-03 22:17 ` BryceVandegrift
2023-05-03 22:24 ` abenson
2023-05-03 22:47 ` BryceVandegrift
2023-05-04 18:38 ` abenson [this message]
2023-05-04 18:46 ` BryceVandegrift

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230504183842.MSj5Hau-4c0SjJsannu28G6qP65KfmnRJdZs4lwQ3Jc@z \
    --to=abenson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).