From: JezerM <JezerM@users.noreply.github.com> To: ml@inbox.vuxu.org Subject: Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.1 Date: Sun, 09 Jan 2022 00:43:59 +0100 [thread overview] Message-ID: <20220108234359.9CEP6YsgXqkBEiNjQF-PPTF-8M_pw_ODut77HJzcFBI@z> (raw) In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34948@inbox.vuxu.org> [-- Attachment #1: Type: text/plain, Size: 1055 bytes --] There is an updated 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: 2752 bytes --] From 1c8b34f7547d735d227ab2fb81c147671e726900 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 | 36 +++++++++++++++++++++++++++++++++++ 3 files changed, 59 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..ff97380de37f --- /dev/null +++ b/srcpkgs/nody-greeter/template @@ -0,0 +1,36 @@ +# 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" +hostmakedepends="base-devel nodejs" +makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo" +depends="cairo libX11 libxcb lightdm 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 +}
next prev parent reply other threads:[~2022-01-08 23:43 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-08 18:12 [PR PATCH] " JezerM 2022-01-08 23:43 ` JezerM [this message] 2022-01-09 19:23 ` [PR PATCH] [Updated] " 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
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=20220108234359.9CEP6YsgXqkBEiNjQF-PPTF-8M_pw_ODut77HJzcFBI@z \ --to=jezerm@users.noreply.github.com \ --cc=ml@inbox.vuxu.org \ --subject='Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.1' \ /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
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).