Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: Viber
@ 2019-07-29 16:41 voidlinux-github
  2019-07-29 16:45 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-07-29 16:41 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1234 bytes --]

From 86e14308da360f3f3a1061e741a0ad67608126b0 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 | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/viber/template

diff --git a/srcpkgs/viber/template b/srcpkgs/viber/template
new file mode 100644
index 00000000000..a2995b139dc
--- /dev/null
+++ b/srcpkgs/viber/template
@@ -0,0 +1,31 @@
+# Template file for 'viber'
+pkgname=viber
+version=10.3.0
+revision=37
+build_style=fetch
+archs="x86_64"
+short_desc="Viber is a cross-platform voice over IP (VoIP) and instant messaging (IM) software application"
+license="viber"
+homepage="https://www.viber.com/"
+repository=nonfree
+nostrip=yes
+distfiles="https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"
+checksum=a5d7d99afc8c186643d1393152a4729c4fc805f4241896c2f004c721619efe7c
+
+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
+}
+

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-30 10:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 16:41 [PR PATCH] New package: Viber voidlinux-github
2019-07-29 16:45 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-29 16:45 ` 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

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).