Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: watchexec-1.14.1
@ 2020-11-12  2:50 cptpcrd
  2020-11-12  4:02 ` [PR REVIEW] " ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: cptpcrd @ 2020-11-12  2:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cptpcrd/void-packages watchexec
https://github.com/void-linux/void-packages/pull/26311

New package: watchexec-1.14.1
Disclaimer: This is my 2nd new package, and my first Rust package. I based this off of [`bat`'s template](https://github.com/void-linux/void-packages/blob/master/srcpkgs/bat/template); I'm not sure if the `export`s in `pre_build` are strictly necessary.

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

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

From cfe1a4c0bfe35dde004fd9e4a84285346f2bc506 Mon Sep 17 00:00:00 2001
From: cptpcrd <31829097+cptpcrd@users.noreply.github.com>
Date: Wed, 11 Nov 2020 21:44:13 -0500
Subject: [PATCH] New package: watchexec-1.14.1

(Based off of bat's template)
---
 srcpkgs/watchexec/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/watchexec/template

diff --git a/srcpkgs/watchexec/template b/srcpkgs/watchexec/template
new file mode 100644
index 00000000000..c960574882d
--- /dev/null
+++ b/srcpkgs/watchexec/template
@@ -0,0 +1,22 @@
+# Template file for 'watchexec'
+pkgname=watchexec
+version=1.14.1
+revision=1
+build_style=cargo
+short_desc="Executes commands in response to file modifications"
+maintainer="cptpcrd <cptpcrd.git@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/watchexec/watchexec"
+distfiles="https://github.com/watchexec/watchexec/archive/${version}.tar.gz"
+checksum=23ca90f1f070b0d30e821667c8b9deaf174d020373ea032e9e22f1a78adcfa1c
+
+pre_build() {
+	export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
+	export CC_${RUST_BUILD//-/_}="${BUILD_CC}"
+}
+
+post_install() {
+	vdoc README.md
+	vman doc/watchexec.1
+	vcompletion completions/zsh zsh
+}

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

end of thread, other threads:[~2020-11-21 21:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12  2:50 [PR PATCH] New package: watchexec-1.14.1 cptpcrd
2020-11-12  4:02 ` [PR REVIEW] " ericonr
2020-11-12  4:50 ` [PR PATCH] [Updated] " cptpcrd
2020-11-12 19:13 ` cptpcrd
2020-11-16 13:50 ` [PR PATCH] [Updated] " cptpcrd
2020-11-17  0:27 ` ericonr
2020-11-17  0:50 ` ericonr
2020-11-21 21:39 ` [PR PATCH] [Merged]: " the-maldridge

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