Github messages for voidlinux
 help / color / mirror / Atom feed
From: JezerM <JezerM@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: nody-greeter-1.3.1
Date: Sat, 08 Jan 2022 19:12:10 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34948@inbox.vuxu.org> (raw)

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (x86_64)

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

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

From de42caa9ef45360fdb49d22922d125c3e8adb63c Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.1

---
 srcpkgs/nody-greeter/INSTALL  | 12 ++++++++++++
 srcpkgs/nody-greeter/REMOVE   | 11 +++++++++++
 srcpkgs/nody-greeter/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/INSTALL
 create mode 100644 srcpkgs/nody-greeter/REMOVE
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/INSTALL b/srcpkgs/nody-greeter/INSTALL
new file mode 100644
index 000000000000..beadd260377e
--- /dev/null
+++ b/srcpkgs/nody-greeter/INSTALL
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# INSTALL
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+  ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/REMOVE b/srcpkgs/nody-greeter/REMOVE
new file mode 100644
index 000000000000..d2d6055c59e8
--- /dev/null
+++ b/srcpkgs/nody-greeter/REMOVE
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# REMOVE
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..e15595cdbc13
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,35 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.1
+revision=1
+#archs="i686 x86_64"
+build_style=meta
+bootstrap=true
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+makedepends="nodejs base-devel libxcb-devel libX11-devel"
+depends="cairo libX11 libxcb lightdm gobject-introspection liblightdm-gobject"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="862a43d0f6a8de5ab071b8e961b811c15d02ed6b7bc0d3adee281d6ae9bbfedf"
+mutable_files="/usr/share/web-greeter/*"
+
+pre_build() {
+	npm install
+}
+
+do_build() {
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

             reply	other threads:[~2022-01-08 18:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 18:12 JezerM [this message]
2022-01-08 23:43 ` [PR PATCH] [Updated] " JezerM
2022-01-09 19:23 ` JezerM
2022-01-09 19:26 ` JezerM
2022-01-10 18:50 ` [PR REVIEW] " Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-13  2:42 ` JezerM
2022-01-13 18:50 ` [PR PATCH] [Updated] " JezerM
2022-01-13 18:51 ` JezerM
2022-01-13 19:21 ` New package: nody-greeter-1.3.2 JezerM
2022-02-18  3:13 ` [PR PATCH] [Updated] " JezerM
2022-06-21  2:13 ` github-actions
2022-07-03 21:39 ` [PR PATCH] [Updated] " JezerM
2022-07-03 21:41 ` JezerM
2022-10-08  2:13 ` New package: nody-greeter-1.4.1 github-actions
2022-10-22  2:14 ` [PR PATCH] [Closed]: " github-actions

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-34948@inbox.vuxu.org \
    --to=jezerm@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).