Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: Viber
Date: Mon, 29 Jul 2019 18:45:48 +0200	[thread overview]
Message-ID: <20190729164548.lT8-9oXGUvTwQONEBzPHRr1m2u2jaQZD1-ov53lTPUA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13401@inbox.vuxu.org>

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

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

https://github.com/66Ton99/void-packages viber
https://github.com/void-linux/void-packages/pull/13401

New package: Viber
New package: viber-10.3.0_37

I has a problem - it can't be versioned "https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb" it does not have any parameters.
Does exist any way to disable "checksum" it is checks inside "preinst" script?

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

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

From 38e83426c4cb0d6891660cfce2559fd8c3c5edb1 Mon Sep 17 00:00:00 2001
From: Anton Shapka <anton.shapka@oracle.com>
Date: Mon, 29 Jul 2019 19:25:45 +0300
Subject: [PATCH] New package: Viber

---
 srcpkgs/viber/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/viber/template

diff --git a/srcpkgs/viber/template b/srcpkgs/viber/template
new file mode 100644
index 00000000000..29c5a31976e
--- /dev/null
+++ b/srcpkgs/viber/template
@@ -0,0 +1,30 @@
+# Template file for 'viber'
+pkgname=viber
+version=10.3.0
+revision=37
+build_style=fetch
+short_desc="Viber is a cross-platform VoIP and IM software application"
+license="viber"
+homepage="https://www.viber.com/"
+distfiles="https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"
+checksum=a5d7d99afc8c186643d1393152a4729c4fc805f4241896c2f004c721619efe7c
+nostrip=yes
+repository=nonfree
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/viber.deb
+	unxz data.tar.xz
+	tar xopf data.tar
+	rm data.tar
+	gunzip control.tar.gz
+	tar xopf control.tar
+	rm control.tar
+}
+
+do_install() {
+	vcopy usr /
+	vcopy opt /
+	vbin preinst
+	vbin postinst
+}
+

  reply	other threads:[~2019-07-29 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 16:41 [PR PATCH] " voidlinux-github
2019-07-29 16:45 ` voidlinux-github [this message]
2019-07-29 16:45 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-30  9:55 ` voidlinux-github
2019-07-30  9:55 ` voidlinux-github
2019-07-30 10:11 ` voidlinux-github
2019-07-30 10:11 ` 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=20190729164548.lT8-9oXGUvTwQONEBzPHRr1m2u2jaQZD1-ov53lTPUA@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).