Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Fix fillets-ng not including game data
@ 2022-06-28  7:18 stellarskylark
  2022-06-28  7:27 ` [PR PATCH] [Updated] " stellarskylark
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: stellarskylark @ 2022-06-28  7:18 UTC (permalink / raw)
  To: ml

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

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

https://github.com/stellarskylark/void-packages master
https://github.com/void-linux/void-packages/pull/37720

Fix fillets-ng not including game data
Basically all I did was copy `do_install` from the `gnu-configure` build style and add a couple lines to copy the game data into `DESTDIR` as well.

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

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

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

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

From f828f3083c9dad769d98916304c8beaaa1bbfa80 Mon Sep 17 00:00:00 2001
From: Skylar Hill <stellarskylark@posteo.net>
Date: Tue, 28 Jun 2022 02:12:21 -0500
Subject: [PATCH] Fix fillets-ng not including game data

---
 srcpkgs/fillets-ng/template | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/fillets-ng/template b/srcpkgs/fillets-ng/template
index 8db27477c3c4..3678456e1407 100644
--- a/srcpkgs/fillets-ng/template
+++ b/srcpkgs/fillets-ng/template
@@ -1,7 +1,7 @@
 # Template file for 'fillets-ng'
 pkgname=fillets-ng
 version=1.0.1
-revision=2
+revision=3
 create_wrksrc=yes
 build_wrksrc="fillets-ng-${version}"
 build_style=gnu-configure
@@ -16,3 +16,12 @@ distfiles="${SOURCEFORGE_SITE}/fillets/fillets-ng-${version}.tar.gz
 checksum="329a4d9515d60bebdb657d070824933b993b85864b9d3e302e6361accab992da
  f0c979fb35ec550a43246fc209add8f45ca550a382c94d6383bb3f01b1073799"
 replaces="fillets-ng-data>=0"
+do_install() {
+  : ${make_cmd:=make}
+  : ${make_install_target:=install}
+
+  ${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}
+
+  mkdir -p ${DESTDIR}/usr/share/games/fillets-ng
+  cp -r $wrksrc/fillets-ng-data-${version}/* ${DESTDIR}/usr/share/games/fillets-ng
+}

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

end of thread, other threads:[~2022-07-01 18:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28  7:18 [PR PATCH] Fix fillets-ng not including game data stellarskylark
2022-06-28  7:27 ` [PR PATCH] [Updated] " stellarskylark
2022-06-28 22:12 ` Duncaen
2022-06-28 22:35 ` [PR PATCH] [Updated] " stellarskylark
2022-06-29 12:18 ` [PR PATCH] [Closed]: " Duncaen
2022-07-01 16:13 ` stellarskylark
2022-07-01 18:07 ` paper42
2022-07-01 18:09 ` stellarskylark

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