Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] citations: update to 0.6.2
Date: Tue, 05 Mar 2024 17:07:47 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49133@inbox.vuxu.org> (raw)

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

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

https://github.com/cinerea0/void-packages citations
https://github.com/void-linux/void-packages/pull/49133

citations: update to 0.6.2
#### Testing the changes
- I tested the changes in this PR: **YES**



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

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

From 45d0df20ce8a1a5a3b5a9587ef37704c86074179 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 5 Mar 2024 11:07:17 -0500
Subject: [PATCH] citations: update to 0.6.2

---
 srcpkgs/citations/template | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/citations/template b/srcpkgs/citations/template
index a4162c34544cf3..531693dee5d26e 100644
--- a/srcpkgs/citations/template
+++ b/srcpkgs/citations/template
@@ -1,7 +1,7 @@
 # Template file for 'citations'
 pkgname=citations
-version=0.5.1
-revision=2
+version=0.6.2
+revision=1
 build_style=meson
 build_helper=rust
 hostmakedepends="glib-devel gettext rust cargo pkg-config
@@ -13,19 +13,11 @@ maintainer="Alex Childs <misuchiru03+github@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://gitlab.gnome.org/World/citations"
 distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
-checksum=77ac6a7cc442de74eccfc3f07687803cd1feca2da348753eddd34404b94bf253
+checksum=26bf22212abebc100840e9b6c62c50a32949a8b0d0fefbaf0834bed48f978d82
 
-# Allows the cross build to know where the file is placed--build.ninja does not account for cross build
-pre_build() {
-	if [ "${CROSS_BUILD}" ]; then
-		vsed -i build/build.ninja -e 's, && cp src/release/citations src/citations,,'
-	fi
-}
-
-# Take the cross-build folder into account when copying the file for the install
-post_build() {
-	pwd
-	if [ "${CROSS_BUILD}" ]; then
-		cp -r build/src/*-linux-*/release/citations build/src/citations
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i src/meson.build \
+		 	-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
 	fi
 }

             reply	other threads:[~2024-03-05 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05 16:07 cinerea0 [this message]
2024-03-05 20:00 ` [PR PATCH] [Merged]: " cinerea0

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49133@inbox.vuxu.org \
    --to=cinerea0@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).