Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] exa: drop aux distfile, build manpages manually
Date: Sat, 22 Oct 2022 00:32:08 +0200	[thread overview]
Message-ID: <20221021223208.PnE3ETngZDTz2wQe2J_InFWWS6Za4IGi5679ZDakqPc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40082@inbox.vuxu.org>

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

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

https://github.com/tranzystorek-io/void-packages exa-create-wrksrc
https://github.com/void-linux/void-packages/pull/40082

exa: drop aux distfile, build manpages manually
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/40082.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-exa-create-wrksrc-40082.patch --]
[-- Type: text/x-diff, Size: 1004 bytes --]

From 24affe4dc3bff46f4f982cd55c4dc709250bcc4b Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 22 Oct 2022 00:31:16 +0200
Subject: [PATCH] exa: use create_wrksrc

---
 srcpkgs/exa/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
index 3efe7851bbdd..248fda1e8188 100644
--- a/srcpkgs/exa/template
+++ b/srcpkgs/exa/template
@@ -2,6 +2,8 @@
 pkgname=exa
 version=0.10.1
 revision=2
+create_wrksrc=yes
+build_wrksrc="${pkgname}-${version}"
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="libgit2-devel"
@@ -15,9 +17,8 @@ checksum="ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
  531596a1ef2a757c7728087529528150e6eb52bb8224fe575aa00a5f1b762849"
 
 post_extract() {
-	mkdir -p accoutrements
-	mv ../man accoutrements/
-	mv ../completions accoutrements/
+	mkdir "${build_wrksrc}/accoutrements"
+	mv man "${build_wrksrc}/accoutrements/"
 }
 
 post_install() {

  parent reply	other threads:[~2022-10-21 22:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-21 14:36 [PR PATCH] exa: use create_wrksrc tranzystorek-io
2022-10-21 15:06 ` [PR REVIEW] " paper42
2022-10-21 15:16 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-21 15:17 ` [PR REVIEW] " tranzystorek-io
2022-10-21 18:14 ` tranzystorek-io
2022-10-21 19:02 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-21 19:03 ` exa: drop aux distfile, build manpages manually tranzystorek-io
2022-10-21 20:36 ` [PR REVIEW] " paper42
2022-10-21 20:38 ` tranzystorek-io
2022-10-21 20:39 ` tranzystorek-io
2022-10-21 22:13 ` paper42
2022-10-21 22:32 ` tranzystorek-io [this message]
2022-10-21 22:34 ` [PR REVIEW] exa: use create_wrksrc tranzystorek-io
2022-10-23  1:07 ` [PR PATCH] [Merged]: " classabbyamp

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=20221021223208.PnE3ETngZDTz2wQe2J_InFWWS6Za4IGi5679ZDakqPc@z \
    --to=tranzystorek-io@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).