Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] exa: use create_wrksrc
@ 2022-10-21 14:36 tranzystorek-io
  2022-10-21 15:06 ` [PR REVIEW] " paper42
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: tranzystorek-io @ 2022-10-21 14:36 UTC (permalink / raw)
  To: ml

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

There is a new 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: use create_wrksrc
<!-- 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: 1058 bytes --]

From a01c813959e15942a9d2de6d260ecd75dc64175b Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Fri, 21 Oct 2022 16:34:16 +0200
Subject: [PATCH] exa: use create_wrksrc

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

diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template
index 3efe7851bbdd..105c67ac65a3 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,9 @@ checksum="ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
  531596a1ef2a757c7728087529528150e6eb52bb8224fe575aa00a5f1b762849"
 
 post_extract() {
-	mkdir -p accoutrements
-	mv ../man accoutrements/
-	mv ../completions accoutrements/
+	mkdir -p "${build_wrksrc}/accoutrements"
+	mv man "${build_wrksrc}/accoutrements/"
+	mv completions "${build_wrksrc}/accoutrements/"
 }
 
 post_install() {

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

end of thread, other threads:[~2022-10-23  1:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PR PATCH] [Updated] " tranzystorek-io
2022-10-21 22:34 ` [PR REVIEW] exa: use create_wrksrc tranzystorek-io
2022-10-23  1:07 ` [PR PATCH] [Merged]: " classabbyamp

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).