Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] citations: update to 0.6.2
@ 2024-03-05 16:07 cinerea0
  2024-03-05 20:00 ` [PR PATCH] [Merged]: " cinerea0
  0 siblings, 1 reply; 2+ messages in thread
From: cinerea0 @ 2024-03-05 16:07 UTC (permalink / raw)
  To: ml

[-- 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
 }

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

* Re: [PR PATCH] [Merged]: citations: update to 0.6.2
  2024-03-05 16:07 [PR PATCH] citations: update to 0.6.2 cinerea0
@ 2024-03-05 20:00 ` cinerea0
  0 siblings, 0 replies; 2+ messages in thread
From: cinerea0 @ 2024-03-05 20:00 UTC (permalink / raw)
  To: ml

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

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

citations: update to 0.6.2
https://github.com/void-linux/void-packages/pull/49133

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



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

end of thread, other threads:[~2024-03-05 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-05 16:07 [PR PATCH] citations: update to 0.6.2 cinerea0
2024-03-05 20:00 ` [PR PATCH] [Merged]: " cinerea0

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