diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-23 05:11:16 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:04:12 +0200 |
commit | 671f01697be5bc60552f2f3c96d03bed0968e81c (patch) | |
tree | 23c533f193b155ea9fc3bf1d58d3a8f34523cb0a | |
parent | b8496e2c6979720221624ed8812f9316024851f2 (diff) | |
download | pkgbuilds-671f01697be5bc60552f2f3c96d03bed0968e81c.tar.xz |
tmux-256color-it: Build the terminfo from on-system version
Work-by: @HalosGhost
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 7 insertions, 11 deletions
@@ -1,16 +1,14 @@ # Generated by makepkg 4.2.1 # Mon Jun 1 13:54:30 UTC 2015 pkgbase = tmux-256color-it - pkgdesc = Terminfo files for tmux that support italics. + pkgdesc = Terminfo files for tmux that support italics pkgver = 0.0.1 pkgrel = 3 url = https://theos.kyriasis.com/~kyrias arch = any license = GPL makedepends = ncurses - 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 @@ -2,21 +2,18 @@ pkgname=tmux-256color-it pkgver=0.0.1 pkgrel=3 -pkgdesc="Terminfo files for tmux that support italics." -url="https://theos.kyriasis.com/~kyrias" +pkgdesc='Terminfo files for tmux that support italics' +url='https://theos.kyriasis.com/~kyrias' arch=('any') license=('GPL') makedepends=('ncurses') -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') +source=('http://git.savannah.gnu.org/cgit/screen.git/plain/COPYING') +sha256sums=('8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903') build() { - tic screeninfo.src -o terminfo - infocmp -A terminfo screen-256color | sed \ + infocmp -I 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,/' \ @@ -24,6 +21,7 @@ build() { -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 |