From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mtm: update to 1.2.0.
Date: Wed, 30 Oct 2019 08:04:49 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15933@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
There is a new pull request by travankor against master on the void-packages repository
https://github.com/travankor/void-packages mtm
https://github.com/void-linux/void-packages/pull/15933
mtm: update to 1.2.0.
Correctly install terminfo into subpackage.
A patch file from https://github.com/void-linux/void-packages/pull/15933.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mtm-15933.patch --]
[-- Type: text/x-diff, Size: 2492 bytes --]
From 3568261ee20867bfee938131773355ae50a8b9e4 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Tue, 29 Oct 2019 23:54:38 -0700
Subject: [PATCH] mtm: update to 1.2.0.
Correctly install terminfo into subpackage.
---
srcpkgs/mtm-terminfo | 1 +
srcpkgs/mtm/mtm-terminfo.INSTALL | 5 +++++
srcpkgs/mtm/mtm-terminfo.REMOVE | 7 +++++++
srcpkgs/mtm/template | 16 ++++++++++++----
4 files changed, 25 insertions(+), 4 deletions(-)
create mode 120000 srcpkgs/mtm-terminfo
create mode 100644 srcpkgs/mtm/mtm-terminfo.INSTALL
create mode 100644 srcpkgs/mtm/mtm-terminfo.REMOVE
diff --git a/srcpkgs/mtm-terminfo b/srcpkgs/mtm-terminfo
new file mode 120000
index 00000000000..867a0ab39fe
--- /dev/null
+++ b/srcpkgs/mtm-terminfo
@@ -0,0 +1 @@
+mtm/
\ No newline at end of file
diff --git a/srcpkgs/mtm/mtm-terminfo.INSTALL b/srcpkgs/mtm/mtm-terminfo.INSTALL
new file mode 100644
index 00000000000..4c2d03b145c
--- /dev/null
+++ b/srcpkgs/mtm/mtm-terminfo.INSTALL
@@ -0,0 +1,5 @@
+case "${ACTION}" in
+post)
+ tic -sx usr/share/terminfo/m/mtm.ti
+ ;;
+esac
diff --git a/srcpkgs/mtm/mtm-terminfo.REMOVE b/srcpkgs/mtm/mtm-terminfo.REMOVE
new file mode 100644
index 00000000000..767b67b2bee
--- /dev/null
+++ b/srcpkgs/mtm/mtm-terminfo.REMOVE
@@ -0,0 +1,7 @@
+case "${ACTION}" in
+pre)
+ rm usr/share/terminfo/m/mtm
+ rm usr/share/terminfo/m/mtm-256color
+ rm usr/share/terminfo/m/mtm-noutf
+ ;;
+esac
diff --git a/srcpkgs/mtm/template b/srcpkgs/mtm/template
index 66dfe25bb22..ed69349285b 100644
--- a/srcpkgs/mtm/template
+++ b/srcpkgs/mtm/template
@@ -1,23 +1,31 @@
# Template file for 'mtm'
pkgname=mtm
-version=1.1.0
+version=1.2.0
revision=1
build_style=gnu-makefile
-hostmakedepends="ncurses"
makedepends="ncurses-devel ncurses-libs"
+depends="ncurses"
short_desc="Micro Terminal Multiplexer"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
homepage="https://github.com/deadpixi/mtm"
distfiles="https://github.com/deadpixi/mtm/archive/${version}.tar.gz"
-checksum=3f3e723466f3bb88afb7a49b66a790f3aaf6786654e8f1f056edc09fa99abd85
+checksum=68f753f743fcd3d87f269011d4bbd3fed59cfcad710d7c7db98844e3e675c196
do_build() {
make HEADERS='-DNCURSESW_INCLUDE_H="<ncurses.h>"'
}
do_install() {
- make install-terminfo
vbin mtm
+ vinstall mtm.ti 644 usr/share/terminfo/m
vman mtm.1
}
+
+mtm-terminfo_package() {
+ short_desc+=" - terminfo data"
+ archs=noarch
+ pkg_install() {
+ vmove usr/share/terminfo
+ }
+}
next reply other threads:[~2019-10-30 7:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-30 7:04 voidlinux-github [this message]
2019-10-30 13:34 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15933@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).