From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: passff-host-1.2.1
Date: Fri, 17 Jan 2020 17:06:28 +0100 [thread overview]
Message-ID: <20200117160628.EmLwdss0zr6pm3Wb2grUZPlmd2RCaK6p8jD-LJ7chJM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18336@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
There is an updated pull request by vpzomtrrfrt against master on the void-packages repository
https://github.com/vpzomtrrfrt/void-packages passff-host
https://github.com/void-linux/void-packages/pull/18336
New package: passff-host-1.2.1
A patch file from https://github.com/void-linux/void-packages/pull/18336.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-passff-host-18336.patch --]
[-- Type: text/x-diff, Size: 3269 bytes --]
From 105bc0135104e1a4aa4c51366ca9954709b54d23 Mon Sep 17 00:00:00 2001
From: Colin Reeder <colin@vpzom.click>
Date: Thu, 16 Jan 2020 22:00:11 -0700
Subject: [PATCH 1/2] New package: passff-host-1.2.1
---
srcpkgs/passff-host/template | 26 ++++++++++++++++++++++++++
srcpkgs/passff-host/update | 2 ++
2 files changed, 28 insertions(+)
create mode 100644 srcpkgs/passff-host/template
create mode 100644 srcpkgs/passff-host/update
diff --git a/srcpkgs/passff-host/template b/srcpkgs/passff-host/template
new file mode 100644
index 00000000000..5267e4a6612
--- /dev/null
+++ b/srcpkgs/passff-host/template
@@ -0,0 +1,26 @@
+# Template file for 'passff-host'
+pkgname=passff-host
+version=1.2.1
+revision=1
+hostmakedepends="make"
+makedepends=""
+depends="python3"
+short_desc="Host app for the WebExtension PassFF"
+maintainer="Colin Reeder <colin@vpzom.click>"
+license="GPL-2.0"
+homepage="https://github.com/passff/passff-host"
+distfiles="https://github.com/passff/passff-host/releases/download/$version/passff.json https://github.com/passff/passff-host/releases/download/$version/passff.py"
+checksum="cd871bcf29d71e53f986fb74b7f2b1867151ba2b2a27318044c7bfaa38827282 6db5c9c435bfe8efc0f626e38144eff4c045d90d8508a295c990abbae411ac6c"
+skip_extraction="passff.json passff.py"
+create_wrksrc=yes
+
+do_install() {
+ local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
+ vinstall "$srcdir"/passff.py 755 usr/libexec
+
+ sed "s#PLACEHOLDER#/usr/libexec/passff.py#g" "$srcdir"/passff.json > passff.json
+
+ for dir in "usr/lib/mozilla/native-messaging-hosts" "etc/opt/chrome/native-messaging-hosts" "etc/chromium/native-messaging-hosts" "etc/vivaldi/native-messaging-hosts"; do
+ vinstall passff.json 644 "$dir"
+ done
+}
diff --git a/srcpkgs/passff-host/update b/srcpkgs/passff-host/update
new file mode 100644
index 00000000000..d012a166fd1
--- /dev/null
+++ b/srcpkgs/passff-host/update
@@ -0,0 +1,2 @@
+site=https://api.github.com/repos/passff/passff-host/tags
+pattern="v\K[^\d]*([\d\.]+)"
From 466973c62bdd51ac6ae1cc1033f81efcb4562bcf Mon Sep 17 00:00:00 2001
From: Colin Reeder <colin@vpzom.click>
Date: Fri, 17 Jan 2020 09:06:01 -0700
Subject: [PATCH 2/2] passff-host: Fix formatting issues in template
---
srcpkgs/passff-host/template | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/passff-host/template b/srcpkgs/passff-host/template
index 5267e4a6612..23eb3079970 100644
--- a/srcpkgs/passff-host/template
+++ b/srcpkgs/passff-host/template
@@ -2,17 +2,15 @@
pkgname=passff-host
version=1.2.1
revision=1
-hostmakedepends="make"
-makedepends=""
+create_wrksrc=yes
depends="python3"
short_desc="Host app for the WebExtension PassFF"
maintainer="Colin Reeder <colin@vpzom.click>"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
homepage="https://github.com/passff/passff-host"
distfiles="https://github.com/passff/passff-host/releases/download/$version/passff.json https://github.com/passff/passff-host/releases/download/$version/passff.py"
checksum="cd871bcf29d71e53f986fb74b7f2b1867151ba2b2a27318044c7bfaa38827282 6db5c9c435bfe8efc0f626e38144eff4c045d90d8508a295c990abbae411ac6c"
skip_extraction="passff.json passff.py"
-create_wrksrc=yes
do_install() {
local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
next prev parent reply other threads:[~2020-01-17 16:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-17 5:05 [PR PATCH] " voidlinux-github
2020-01-17 16:06 ` voidlinux-github [this message]
2020-01-17 17:14 ` voidlinux-github
2020-01-17 17:15 ` voidlinux-github
2020-01-17 17:15 ` voidlinux-github
2020-01-17 19:08 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-17 19:08 ` voidlinux-github
2020-01-17 23:34 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-18 2:58 ` [PR PATCH] [Merged]: " voidlinux-github
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=20200117160628.EmLwdss0zr6pm3Wb2grUZPlmd2RCaK6p8jD-LJ7chJM@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).