Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: todo.txt-cli-2.11.0
@ 2019-12-26 11:29 voidlinux-github
  0 siblings, 0 replies; only message in thread
From: voidlinux-github @ 2019-12-26 11:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/SevereOverfl0w/void-packages todotxt-cli
https://github.com/void-linux/void-packages/pull/17791

New package: todo.txt-cli-2.11.0
None

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

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

From 5753709e8898c4d0383f9e0415b344dac8de3166 Mon Sep 17 00:00:00 2001
From: Dominic Monroe <iam@dominic.io>
Date: Thu, 26 Dec 2019 11:27:55 +0000
Subject: [PATCH] New package: todo.txt-cli-2.11.0

---
 srcpkgs/todo.txt-cli/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/todo.txt-cli/template

diff --git a/srcpkgs/todo.txt-cli/template b/srcpkgs/todo.txt-cli/template
new file mode 100644
index 00000000000..ece580a36d0
--- /dev/null
+++ b/srcpkgs/todo.txt-cli/template
@@ -0,0 +1,22 @@
+# Template file for 'todo.txt-cli'
+pkgname=todo.txt-cli
+version=2.11.0
+revision=1
+depends="bash"
+short_desc="Simple and extensible shell script for managing your todo.txt file"
+maintainer="Dominic Monroe <monroef4@googlemail.com>"
+license="GPL-3.0-or-later"
+homepage="http://todotxt.org"
+distfiles="https://github.com/todotxt/todo.txt-cli/archive/v${version}.tar.gz"
+checksum=95c7e10c3b7d161272b70edfcfee3cea9a888812ca82c26343143dd8a81e5176
+
+do_build() {
+	# Adapted from the official Makefile
+	sed -i "s/^\(export[ \t]*TODO_DIR=\).*/\1~\/.todo/" todo.cfg
+}
+
+do_install() {
+	vbin todo.sh
+	vinstall todo_completion 644 /usr/share/bash-completion/completions todo
+	vinstall todo.cfg 644 etc/todo config
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-26 11:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 11:29 [PR PATCH] New package: todo.txt-cli-2.11.0 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).