Github messages for voidlinux
 help / color / mirror / Atom feed
From: M374LX <M374LX@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: alexvsbus
Date: Wed, 14 Feb 2024 00:45:15 +0100	[thread overview]
Message-ID: <20240213234515.768002915D@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48682@inbox.vuxu.org>

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

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

https://github.com/M374LX/void-packages alexvsbus
https://github.com/void-linux/void-packages/pull/48682

New package: alexvsbus
Closes #48647

#### 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**

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

#### More information
It is my first time trying to create a package for Void Linux.

The binary package seems to be working, but some tasks are pending, like determining the exact runtime dependencies and installing the documentation and license files.

By default, the main executable is placed in ``/usr/games``. If everyone prefers to have it in ``/usr/bin``, it can be adjusted in the ``do_build()`` function: ``make PREFIX=$DESTDIR/usr EXECPREFIX=$DESTDIR/usr/bin``.

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

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

From 2d7830fdf15758bfe84be7fe33c3e060942855a5 Mon Sep 17 00:00:00 2001
From: M374LX <wilsalx@gmail.com>
Date: Mon, 12 Feb 2024 22:22:26 -0300
Subject: [PATCH 1/5] New package: alexvsbus (WIP)

---
 srcpkgs/alexvsbus/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/alexvsbus/template

diff --git a/srcpkgs/alexvsbus/template b/srcpkgs/alexvsbus/template
new file mode 100644
index 0000000000000..d059866726b86
--- /dev/null
+++ b/srcpkgs/alexvsbus/template
@@ -0,0 +1,22 @@
+# Template file for 'alexvsbus'
+pkgname=alexvsbus
+version=2024.02.10.0
+revision=1
+archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-makefile
+#make_build_args=""
+make_install_args="PREFIX=/usr"
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="alsa-lib-devel libX11-devel libXrandr-devel libXi-devel 
+ MesaLib-devel glu-devel libXcursor-devel libXinerama-devel"
+makedepends=""
+depends=""
+short_desc="A platform runner game"
+maintainer="M374LX <wilsalx@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/M374LX/alexvsbus"
+#changelog=""
+distfiles="https://github.com/M374LX/alexvsbus/archive/${version}.tar.gz"
+checksum=3568a9d02aa044c948cb32d3b291f2218f95b38af810870b8315ecbd15f2f76e

From 20ae3fb07410341cb426fe8b6b5da7e47acd16e1 Mon Sep 17 00:00:00 2001
From: M374LX <wilsalx@gmail.com>
Date: Tue, 13 Feb 2024 16:45:01 -0300
Subject: [PATCH 2/5] alexvsbus: Update to 2024.02.13.0

---
 srcpkgs/alexvsbus/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/alexvsbus/template b/srcpkgs/alexvsbus/template
index d059866726b86..1a7a253de2ba6 100644
--- a/srcpkgs/alexvsbus/template
+++ b/srcpkgs/alexvsbus/template
@@ -1,6 +1,6 @@
 # Template file for 'alexvsbus'
 pkgname=alexvsbus
-version=2024.02.10.0
+version=2024.02.13.0
 revision=1
 archs="i686 x86_64"
 #build_wrksrc=
@@ -19,4 +19,4 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/M374LX/alexvsbus"
 #changelog=""
 distfiles="https://github.com/M374LX/alexvsbus/archive/${version}.tar.gz"
-checksum=3568a9d02aa044c948cb32d3b291f2218f95b38af810870b8315ecbd15f2f76e
+checksum=bff47cd864098be89ca941123776b2c0bde6a6456cfefb6df8f38fae102c507b

From 0120eee8d252c26a2d9e03c72440a804ce5e8d3e Mon Sep 17 00:00:00 2001
From: M374LX <wilsalx@gmail.com>
Date: Tue, 13 Feb 2024 17:03:59 -0300
Subject: [PATCH 3/5] alexvsbus: Add do_build()

---
 srcpkgs/alexvsbus/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/alexvsbus/template b/srcpkgs/alexvsbus/template
index 1a7a253de2ba6..358fa09180770 100644
--- a/srcpkgs/alexvsbus/template
+++ b/srcpkgs/alexvsbus/template
@@ -20,3 +20,7 @@ homepage="https://github.com/M374LX/alexvsbus"
 #changelog=""
 distfiles="https://github.com/M374LX/alexvsbus/archive/${version}.tar.gz"
 checksum=bff47cd864098be89ca941123776b2c0bde6a6456cfefb6df8f38fae102c507b
+
+do_build() {
+	make
+}

From 81fddbff9efb30831c5e30fc1d374f123c0b7544 Mon Sep 17 00:00:00 2001
From: M374LX <wilsalx@gmail.com>
Date: Tue, 13 Feb 2024 20:03:14 -0300
Subject: [PATCH 4/5] alexvsus: Add do_install()

---
 srcpkgs/alexvsbus/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/alexvsbus/template b/srcpkgs/alexvsbus/template
index 358fa09180770..271cc5aaa6550 100644
--- a/srcpkgs/alexvsbus/template
+++ b/srcpkgs/alexvsbus/template
@@ -4,7 +4,7 @@ version=2024.02.13.0
 revision=1
 archs="i686 x86_64"
 #build_wrksrc=
-build_style=gnu-makefile
+#build_style=gnu-makefile
 #make_build_args=""
 make_install_args="PREFIX=/usr"
 #conf_files=""
@@ -24,3 +24,7 @@ checksum=bff47cd864098be89ca941123776b2c0bde6a6456cfefb6df8f38fae102c507b
 do_build() {
 	make
 }
+
+do_install() {
+	make install PREFIX=$DESTDIR/usr
+}

From 8516ec7171c5657c1146fdf6790c5ecd91589345 Mon Sep 17 00:00:00 2001
From: M374LX <wilsalx@gmail.com>
Date: Tue, 13 Feb 2024 20:46:40 -0300
Subject: [PATCH 5/5] alexvsbus: Remove unused template variables

---
 srcpkgs/alexvsbus/template | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/srcpkgs/alexvsbus/template b/srcpkgs/alexvsbus/template
index 271cc5aaa6550..039b165220749 100644
--- a/srcpkgs/alexvsbus/template
+++ b/srcpkgs/alexvsbus/template
@@ -3,12 +3,6 @@ pkgname=alexvsbus
 version=2024.02.13.0
 revision=1
 archs="i686 x86_64"
-#build_wrksrc=
-#build_style=gnu-makefile
-#make_build_args=""
-make_install_args="PREFIX=/usr"
-#conf_files=""
-#make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="alsa-lib-devel libX11-devel libXrandr-devel libXi-devel 
  MesaLib-devel glu-devel libXcursor-devel libXinerama-devel"
 makedepends=""

  parent reply	other threads:[~2024-02-13 23:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13  1:27 [PR PATCH] " M374LX
2024-02-13  9:28 ` Eloitor
2024-02-13  9:28 ` Eloitor
2024-02-13 18:03 ` M374LX
2024-02-13 19:43 ` [PR PATCH] [Updated] " M374LX
2024-02-13 20:02 ` M374LX
2024-02-13 20:04 ` M374LX
2024-02-13 23:01 ` [PR PATCH] [Updated] " M374LX
2024-02-13 23:03 ` M374LX
2024-02-13 23:14 ` Eloitor
2024-02-13 23:28 ` M374LX
2024-02-13 23:45 ` M374LX [this message]
2024-02-15 21:08 ` [PR PATCH] [Updated] " M374LX
2024-02-15 21:46 ` M374LX
2024-02-17 22:33 ` M374LX
2024-02-18 19:20 ` M374LX
2024-05-19  1:48 ` github-actions
2024-06-02  1:50 ` [PR PATCH] [Closed]: " github-actions
2024-06-05  2:04 ` M374LX

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=20240213234515.768002915D@inbox.vuxu.org \
    --to=m374lx@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).