Github messages for voidlinux
 help / color / mirror / Atom feed
From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: NetAuth-localizer-0.1.0
Date: Sun, 19 Apr 2020 07:54:15 +0200	[thread overview]
Message-ID: <20200419055415.AcFtoVSQpbMPU2sucrDHoF0hbaGxwK2XKc6LUft9Z9Q@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21144@inbox.vuxu.org>

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

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

https://github.com/the-maldridge/void-packages localizer
https://github.com/void-linux/void-packages/pull/21144

New package: NetAuth-localizer-0.1.0
Not sure if this is the best day to do the options in the snooze line.  If there's something better I'd like to know.

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

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

From f1ed65d75e1305cc7b2098c3941dc1db52e99797 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sat, 18 Apr 2020 22:24:24 -0700
Subject: [PATCH] New package: NetAuth-localizer-0.1.0

---
 srcpkgs/NetAuth-localizer/files/localize/run |  8 +++++++
 srcpkgs/NetAuth-localizer/template           | 25 ++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100755 srcpkgs/NetAuth-localizer/files/localize/run
 create mode 100644 srcpkgs/NetAuth-localizer/template

diff --git a/srcpkgs/NetAuth-localizer/files/localize/run b/srcpkgs/NetAuth-localizer/files/localize/run
new file mode 100755
index 00000000000..b90b612f7ec
--- /dev/null
+++ b/srcpkgs/NetAuth-localizer/files/localize/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+HOUR='*'
+MINUTE='0,30'
+
+[ -r ./conf ] && . ./conf
+
+snooze -H $HOUR -M $MINUTE localize
diff --git a/srcpkgs/NetAuth-localizer/template b/srcpkgs/NetAuth-localizer/template
new file mode 100644
index 00000000000..f01ad4b4f4b
--- /dev/null
+++ b/srcpkgs/NetAuth-localizer/template
@@ -0,0 +1,25 @@
+# Template file for 'NetAuth-localizer'
+pkgname=NetAuth-localizer
+version=0.1.0
+revision=1
+wrksrc=localizer-$version
+build_style=go
+go_import_path=github.com/netauth/localizer
+go_package=${go_import_path}/cmd/localize
+hostmakedepends="git"
+depends="snooze"
+short_desc="Make NetAuth accounts local in Linux"
+maintainer="Michael Aldridge <maldridge@netauth.org>"
+license="MIT"
+homepage="https://netauth.org/ecosystem/localizer"
+distfiles="https://github.com/netauth/localizer/archive/v$version.tar.gz"
+checksum=0cab66230e8845d40ecf9a6033c63730e5fc73a3a778cefe2cc98d4787cd5329
+
+do_check() {
+	go test -v ./...
+}
+
+post_install() {
+	vsv localize
+	vlicense LICENSE
+}

  reply	other threads:[~2020-04-19  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19  5:26 [PR PATCH] " the-maldridge
2020-04-19  5:54 ` the-maldridge [this message]
2020-04-19  9:17 ` Anachron
2020-04-19 20:38 ` the-maldridge
2020-04-20  2:09 ` [PR PATCH] [Closed]: " the-maldridge

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=20200419055415.AcFtoVSQpbMPU2sucrDHoF0hbaGxwK2XKc6LUft9Z9Q@z \
    --to=the-maldridge@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).