* [PR PATCH] Openbazaar 2.0
@ 2020-05-09 21:44 CameronNemo
2020-09-07 21:12 ` [PR PATCH] [Closed]: " CameronNemo
0 siblings, 1 reply; 2+ messages in thread
From: CameronNemo @ 2020-05-09 21:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
There is a new pull request by CameronNemo against master on the void-packages repository
https://github.com/CameronNemo/void-packages obzr
https://github.com/void-linux/void-packages/pull/21803
Openbazaar 2.0
None
A patch file from https://github.com/void-linux/void-packages/pull/21803.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-obzr-21803.patch --]
[-- Type: text/x-diff, Size: 3751 bytes --]
From 11c8a3175a10adc60def0ba3192fa7535f7a0a06 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sat, 9 May 2020 14:43:05 -0700
Subject: [PATCH 1/2] New package: openbazaar-go-0.14.2.
---
srcpkgs/openbazaar-go/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/openbazaar-go/template
diff --git a/srcpkgs/openbazaar-go/template b/srcpkgs/openbazaar-go/template
new file mode 100644
index 00000000000..c851aa3d512
--- /dev/null
+++ b/srcpkgs/openbazaar-go/template
@@ -0,0 +1,17 @@
+# Template file for 'openbazaar-go'
+pkgname=openbazaar-go
+version=0.14.2
+revision=1
+build_style=go
+go_import_path=github.com/OpenBazaar/openbazaar-go
+short_desc="OpenBazaar 2.0 Server Daemon in Go"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="MIT"
+homepage="https://openbazaar.org/"
+distfiles="https://github.com/OpenBazaar/openbazaar-go/archive/v${version}.tar.gz"
+checksum=0c55ece9e9459c249b7c6b931d12798d238e4b602354aa09aeca6d523da6643f
+
+post_install() {
+ vlicense LICENSE
+ mv "${DESTDIR}"/usr/bin/openbazaar{-go,d}
+}
From 2a8ee0f5c8596d90ca9f0e8f669fbe6512ab3eea Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sat, 9 May 2020 14:44:02 -0700
Subject: [PATCH 2/2] New package: openbazaar-desktop-2.4.4.
---
.../files/openbazaar-desktop.desktop | 9 ++++
srcpkgs/openbazaar-desktop/template | 48 +++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 srcpkgs/openbazaar-desktop/files/openbazaar-desktop.desktop
create mode 100644 srcpkgs/openbazaar-desktop/template
diff --git a/srcpkgs/openbazaar-desktop/files/openbazaar-desktop.desktop b/srcpkgs/openbazaar-desktop/files/openbazaar-desktop.desktop
new file mode 100644
index 00000000000..31db988d2b4
--- /dev/null
+++ b/srcpkgs/openbazaar-desktop/files/openbazaar-desktop.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=OpenBazaar
+Comment=Decentralized Peer to Peer Marketplace for Bitcoin
+GenericName=OpenBazaar Desktop Client
+Exec=openbazaar-desktop %U
+Icon=openbazaar-desktop
+Type=Application
+StartupNotify=true
+Categories=Utility;
diff --git a/srcpkgs/openbazaar-desktop/template b/srcpkgs/openbazaar-desktop/template
new file mode 100644
index 00000000000..96e50934293
--- /dev/null
+++ b/srcpkgs/openbazaar-desktop/template
@@ -0,0 +1,48 @@
+# Template file for 'openbazaar-desktop'
+pkgname=openbazaar-desktop
+version=2.4.4
+revision=1
+archs="x86_64 i686 aarch64 armv7l"
+hostmakedepends="nodejs unzip"
+short_desc="OpenBazaar 2.0 Desktop Client"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="MIT"
+homepage="https://openbazaar.org/"
+distfiles="https://github.com/OpenBazaar/openbazaar-desktop/archive/v${version}.tar.gz"
+checksum=c2299a17506623fc7e7649cdf741b0d9371e1067e5720f52be4c05f94ac78124
+nostrip=yes
+
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*) _arch=x64 ;;
+ i686*) _arch=ia32 ;;
+ aarch64*) _arch=arm64 ;;
+ armv7l*) _arch=armv7l ;;
+esac
+
+do_build() {
+ npm install electron-packager -g --silent
+ npm install npm-run-all -g --silent
+ npm install grunt-cli -g --silent
+ npm install grunt --save-dev --silent
+ npm install grunt-electron-installer --save-dev --silent
+ npm install --silent
+ npm run build
+ cp -rf prod/* js/
+ electron-packager . "${pkgname}" --platform=linux --arch="${_arch}"
+}
+
+do_install() {
+ vmkdir "usr/lib/${pkgname}"
+ vcopy "${pkgname}-linux-${_arch}"/* "usr/lib/${pkgname}"
+
+ vmkdir usr/bin
+ ln -s "../lib/${pkgname}/${pkgname}" "${DESTDIR}/usr/bin/"
+
+ vmkdir usr/share/applications
+ vinstall "${FILESDIR}/${pkgname}.desktop" 644 usr/share/applications
+
+ vmkdir usr/share/pixmaps
+ vinstall imgs/icon.png 644 usr/share/pixmaps "${pkgname}.png"
+
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: Openbazaar 2.0
2020-05-09 21:44 [PR PATCH] Openbazaar 2.0 CameronNemo
@ 2020-09-07 21:12 ` CameronNemo
0 siblings, 0 replies; 2+ messages in thread
From: CameronNemo @ 2020-09-07 21:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
There's a closed pull request on the void-packages repository
Openbazaar 2.0
https://github.com/void-linux/void-packages/pull/21803
Description:
None
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-07 21:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 21:44 [PR PATCH] Openbazaar 2.0 CameronNemo
2020-09-07 21:12 ` [PR PATCH] [Closed]: " CameronNemo
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).