diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-15 22:12:41 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:04:12 +0200 |
commit | b8496e2c6979720221624ed8812f9316024851f2 (patch) | |
tree | a2236f28edf691a68d7b586149fc272c1c5f582e | |
parent | 32c87094d4b0afa91b25a73d9a6c388167a0cfb9 (diff) | |
download | pkgbuilds-b8496e2c6979720221624ed8812f9316024851f2.tar.xz |
tmux-256color-it: Create terminfo from screen git
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | LICENSE | 28 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | tmux-256color-it | 27 |
4 files changed, 23 insertions, 68 deletions
@@ -3,15 +3,15 @@ pkgbase = tmux-256color-it pkgdesc = Terminfo files for tmux that support italics. pkgver = 0.0.1 - pkgrel = 2 + pkgrel = 3 url = https://theos.kyriasis.com/~kyrias arch = any - license = MIT + license = GPL makedepends = ncurses - source = tmux-256color-it - source = LICENSE - sha256sums = 58ea656c17cbedd06c386fd3b77f4a8ac3e39781799c27d9b0ab2fa15a191ee8 - sha256sums = d7c21d3e838f422c3977fe20c888e12365550a8eca5e57c944bf06a956071876 + source = http://git.savannah.gnu.org/cgit/screen.git/plain/src/terminfo/screeninfo.src + source = http://git.savannah.gnu.org/cgit/screen.git/plain/COPYING + sha256sums = c8c4869c14a0d959767c948d42b93e77c0ae6a7426128923ecc4ae9294af7633 + sha256sums = 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 pkgname = tmux-256color-it diff --git a/LICENSE b/LICENSE deleted file mode 100644 index c0bfd93..0000000 --- a/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ -------------------------------------------------------------------------------- --- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. -- --- -- --- Permission is hereby granted, free of charge, to any person obtaining a -- --- copy of this software and associated documentation files (the -- --- "Software"), to deal in the Software without restriction, including -- --- without limitation the rights to use, copy, modify, merge, publish, -- --- distribute, distribute with modifications, sublicense, and/or sell copies -- --- of the Software, and to permit persons to whom the Software is furnished -- --- to do so, subject to the following conditions: -- --- -- --- The above copyright notice and this permission notice shall be included -- --- in all copies or substantial portions of the Software. -- --- -- --- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- --- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- --- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -- --- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- --- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- --- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -- --- USE OR OTHER DEALINGS IN THE SOFTWARE. -- --- -- --- Except as contained in this notice, the name(s) of the above copyright -- --- holders shall not be used in advertising or otherwise to promote the -- --- sale, use or other dealings in this Software without prior written -- --- authorization. -- -------------------------------------------------------------------------------- --- $Id: README,v 1.23 2006/04/22 22:19:37 tom Exp $ @@ -1,22 +1,32 @@ pkgname=tmux-256color-it pkgver=0.0.1 -pkgrel=2 +pkgrel=3 pkgdesc="Terminfo files for tmux that support italics." url="https://theos.kyriasis.com/~kyrias" arch=('any') -license=('MIT') +license=('GPL') makedepends=('ncurses') -source=('tmux-256color-it' - 'LICENSE') -sha256sums=('58ea656c17cbedd06c386fd3b77f4a8ac3e39781799c27d9b0ab2fa15a191ee8' - 'd7c21d3e838f422c3977fe20c888e12365550a8eca5e57c944bf06a956071876') +source=('http://git.savannah.gnu.org/cgit/screen.git/plain/src/terminfo/screeninfo.src' + 'http://git.savannah.gnu.org/cgit/screen.git/plain/COPYING') +sha256sums=('c8c4869c14a0d959767c948d42b93e77c0ae6a7426128923ecc4ae9294af7633' + '8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903') +build() { + tic screeninfo.src -o terminfo + infocmp -A terminfo screen-256color | sed \ + -e 's/^screen-256color[^|]*|[^,]*,/tmux-256color-it|tmux-256color with italics support,/' \ + -e 's/%?%p1%t;3%/%?%p1%t;7%/' \ + -e 's/smso=[^,]*,/smso=\\E[7m,/' \ + -e 's/rmso=[^,]*,/rmso=\\E[27m,/' \ + -e '$s/$/ sitm=\\E[3m, ritm=\\E[23m,/' \ + > tmux-256color-it +} package() { install -d "$pkgdir"/usr/share/terminfo tic tmux-256color-it -o "$pkgdir"/usr/share/terminfo - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } diff --git a/tmux-256color-it b/tmux-256color-it deleted file mode 100644 index 55121a8..0000000 --- a/tmux-256color-it +++ /dev/null @@ -1,27 +0,0 @@ -# Reconstructed via infocmp from file: /usr/share/terminfo/s/screen-256color -tmux-256color-it|tmux with 256 colors and italics support, - am, km, mir, msgr, xenl, - colors#256, cols#80, it#8, lines#24, pairs#32767, - acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, - bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, - clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, - cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, - cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, - dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, - flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, - il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z, - kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, - kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, - kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, - kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, - khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, - nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, - rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, - rmul=\E[24m, rs2=\Ec\E[?1000l\E[?25h, sc=\E7, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, - sgr=\E[0%?%p6%t;1%;%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, - sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h, - smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, sitm=\E[3m, ritm=\E[23m, |