Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: xplr-0.14.2
@ 2021-06-22  7:14 shubham-cpp
  2021-06-22 11:54 ` [PR REVIEW] " biopsin
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: shubham-cpp @ 2021-06-22  7:14 UTC (permalink / raw)
  To: ml

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

There is a new pull request by shubham-cpp against master on the void-packages repository

https://github.com/shubham-cpp/void-packages support_xplr
https://github.com/void-linux/void-packages/pull/31606

New packages: xplr-0.14.2
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl


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

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

From 4378939c469889a684182061845fe24d23ca5f83 Mon Sep 17 00:00:00 2001
From: Shubham Pawar <shubhampawar3007@gmail.com>
Date: Tue, 22 Jun 2021 12:24:24 +0530
Subject: [PATCH 1/2] Minimalistic X11 color picker written is Rust

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

diff --git a/srcpkgs/xcolor/template b/srcpkgs/xcolor/template
new file mode 100644
index 000000000000..8ff7421e540f
--- /dev/null
+++ b/srcpkgs/xcolor/template
@@ -0,0 +1,25 @@
+# Template file for 'xcolor'
+pkgname=xcolor
+version=0.5.0
+revision=1
+archs="x86_64"
+wrksrc=${pkgname}
+build_style=cargo
+makedepends="libxcb-devel libX11-devel libXcursor-devel libXrender-devel"
+hostmakedepends="rust python3 git pkg-config"
+short_desc="Lightweight color picker for X11 written in Rust"
+maintainer="Shubham Pawar <shubhampawar3007@gmail.com>"
+license="MIT"
+homepage="https://github.com/Soft/xcolor"
+# distfiles="https://github.com/Soft/xcolor/archive/${version}.tar.gz"
+checksum=35e8eaadeb53d77f90869af4e97bd2253a73f438624c7ce6ee7156d12bb83fce
+
+do_fetch() {
+    git clone https://github.com/Soft/xcolor.git ${wrksrc}
+}
+
+post_install() {
+    vman man/xcolor.1
+    vinstall extra/xcolor.desktop 644 usr/share/applications
+    vlicense LICENSE
+}

From 133fd31de17df80ee9185133f81232577dfe7c2f Mon Sep 17 00:00:00 2001
From: Shubham Pawar <shubhampawar3007@gmail.com>
Date: Tue, 22 Jun 2021 12:41:55 +0530
Subject: [PATCH 2/2] New packages: xplr-0.14.2

---
 srcpkgs/xplr/README.md |  9 +++++++++
 srcpkgs/xplr/template  | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/xplr/README.md
 create mode 100644 srcpkgs/xplr/template

diff --git a/srcpkgs/xplr/README.md b/srcpkgs/xplr/README.md
new file mode 100644
index 000000000000..b31daee5e4cb
--- /dev/null
+++ b/srcpkgs/xplr/README.md
@@ -0,0 +1,9 @@
+# Usage
+```bash
+# Create a xplr config dir if doesn't exists already
+mkdir -p ~/.config/xplr
+# Copy an example config file
+cp /usr/share/examples/xplr/init.lua ~/.config/xplr
+# Now run the program itself
+xplr
+```
diff --git a/srcpkgs/xplr/template b/srcpkgs/xplr/template
new file mode 100644
index 000000000000..8bf742b506cf
--- /dev/null
+++ b/srcpkgs/xplr/template
@@ -0,0 +1,36 @@
+# Template file for 'xplr'
+pkgname=xplr
+version=0.14.2
+revision=1
+archs="x86_64"
+wrksrc=${pkgname}
+create_wrksrc=yes
+makedepends="libgcc-devel"
+hostmakedepends="curl tar"
+# depends=""
+short_desc="A hackable, minimal, fast TUI file explorer written in Rust"
+maintainer="Shubham Pawar <shubhampawar3007@gmail.com>"
+license="MIT"
+homepage="https://github.com/sayanarijit/xplr"
+# distfiles="${homepage}/releases/download/v${version}/${pkgname}-linux.tar.gz"
+checksum=af7c7cb98a1e7b003c9ae1294fb7f7091ed48fe89ec01bfccac9aba154162c87
+
+do_fetch() {
+    mkdir ${wrksrc}
+    cd ${wrksrc}
+    curl -OLC - ${homepage}/releases/download/v${version}/${pkgname}-linux.tar.gz
+    curl -OLC - ${homepage}/raw/v${version}/LICENSE
+    curl -OLC - ${homepage}/raw/v${version}/README.md
+    curl -OLC - ${homepage}/raw/v${version}/src/init.lua
+    curl -OLC - ${homepage}/raw/v${version}/assets/desktop/${pkgname}.desktop
+}
+
+do_install() {
+    cd ${wrksrc}
+	tar fxz ${pkgname}-linux.tar.gz
+    vbin xplr
+    vdoc README.md
+    vsconf init.lua
+    vlicense LICENSE
+    vinstall ${pkgname}.desktop 644 /usr/share/applications
+}

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

end of thread, other threads:[~2021-06-23 18:21 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  7:14 [PR PATCH] New packages: xplr-0.14.2 shubham-cpp
2021-06-22 11:54 ` [PR REVIEW] " biopsin
2021-06-22 11:56 ` biopsin
2021-06-22 14:38 ` Vaelatern
2021-06-22 14:57 ` [PR REVIEW] " shubham-cpp
2021-06-22 15:01 ` shubham-cpp
2021-06-22 15:10 ` shubham-cpp
2021-06-22 15:16 ` Vaelatern
2021-06-22 15:42 ` shubham-cpp
2021-06-22 15:51 ` Vaelatern
2021-06-23  3:33 ` [PR PATCH] [Updated] " shubham-cpp
2021-06-23  3:38 ` shubham-cpp
2021-06-23  3:46 ` shubham-cpp
2021-06-23  4:05 ` Vaelatern
2021-06-23  4:24 ` shubham-cpp
2021-06-23  6:06 ` [PR PATCH] [Updated] " shubham-cpp
2021-06-23  6:10 ` shubham-cpp
2021-06-23 16:05 ` Vaelatern
2021-06-23 16:32 ` [PR REVIEW] " biopsin
2021-06-23 16:46 ` shubham-cpp
2021-06-23 17:09 ` Vaelatern
2021-06-23 17:10 ` Vaelatern
2021-06-23 18:01 ` shubham-cpp
2021-06-23 18:03 ` ericonr
2021-06-23 18:20 ` shubham-cpp
2021-06-23 18:21 ` [PR PATCH] [Closed]: " shubham-cpp

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