Github messages for voidlinux
 help / color / mirror / Atom feed
From: anjandev <anjandev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zzz-user-hooks-1.0.0
Date: Tue, 07 Jul 2020 01:58:45 +0200	[thread overview]
Message-ID: <20200706235845.Nb3DCgkdoODipsFBK9S1FC1LD9KBQcptTDyZOjTCcPM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23430@inbox.vuxu.org>

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

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

https://github.com/anjandev/void-packages zzz
https://github.com/void-linux/void-packages/pull/23430

New package: zzz-user-hooks-1.0.0


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

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

From de08a4c4c64e33d24014d0ed15ecb7ebd98897c2 Mon Sep 17 00:00:00 2001
From: Anjandev Momi <anjan@momi.ca>
Date: Mon, 6 Jul 2020 14:52:38 -0700
Subject: [PATCH] New package: zzz-user-hooks-1.0.0

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

diff --git a/srcpkgs/zzz-user-hooks/template b/srcpkgs/zzz-user-hooks/template
new file mode 100644
index 00000000000..1915aee8012
--- /dev/null
+++ b/srcpkgs/zzz-user-hooks/template
@@ -0,0 +1,22 @@
+# Template file for 'zzz-user-hooks'
+pkgname=zzz-user-hooks
+version=1.0.0
+revision=1
+build_style=gnu-makefile
+checkdepends="shellcheck"
+short_desc="Allow user scripts for logged in user using zzz suspend/resume"
+maintainer="Anjandev Momi <anjan@momi.ca>"
+license="MIT"
+homepage="https://www.daveeddy.com/2018/10/01/run-user-scripts-on-suspend-and-wakeup-on-void-linux/"
+distfiles="https://github.com/bahamas10/zzz-user-hooks/archive/v${version}.tar.gz"
+checksum=bf29baf9a5690dafbede199f0a9d841759de828cd0967c3fe376e1155ab5c8fc
+archs=noarch
+
+do_install() {
+	vmkdir /etc/zzz.d/resume
+	vmkdir /etc/zzz.d/suspend
+	vinstall user-script /etc/zzz.d
+	vinstall hooks/resume/99-user-script /etc/zzz.d/resume
+	vinstall hooks/suspend/99-user-script /etc/zzz.d/suspend
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-07-06 23:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23430@inbox.vuxu.org>
2020-07-06 23:48 ` [PR REVIEW] " sgn
2020-07-06 23:48 ` sgn
2020-07-06 23:58 ` anjandev [this message]
2020-07-07  0:00 ` anjandev
2020-07-07  0:00 ` anjandev
2020-07-07  0:01 ` [PR PATCH] [Updated] " anjandev
2020-07-11 20:23 ` [PR REVIEW] " ahesford
2020-07-11 21:54 ` [PR PATCH] [Updated] " anjandev
2020-07-11 21:58 ` anjandev
2020-07-12  3:29 ` ahesford
2020-07-23 14:10 ` sgn
2020-07-23 14:33 ` ahesford
2020-07-23 14:34 ` [PR PATCH] [Merged]: " sgn

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=20200706235845.Nb3DCgkdoODipsFBK9S1FC1LD9KBQcptTDyZOjTCcPM@z \
    --to=anjandev@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).