aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncurses/APKBUILD
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-03-15 22:31:21 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-27 22:24:49 +0000
commit95aa0e7217d9ad1e89b6b66d235f2bff4f59af07 (patch)
treee5ad77c77a03ad1f449e0a86399b6b7446e883eb /main/ncurses/APKBUILD
parent0c4b6fe8dc132f8cb20adf238f2e4a83f6bc841f (diff)
downloadaports-95aa0e7217d9ad1e89b6b66d235f2bff4f59af07.tar.gz
aports-95aa0e7217d9ad1e89b6b66d235f2bff4f59af07.tar.bz2
aports-95aa0e7217d9ad1e89b6b66d235f2bff4f59af07.tar.xz
main/ncurses: upgrade to 6.2_p20200314
remove amove from moving terminfo files and add some often used terminal description files to ncurses-terminfo-base subpackage
Diffstat (limited to 'main/ncurses/APKBUILD')
-rw-r--r--main/ncurses/APKBUILD43
1 files changed, 11 insertions, 32 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index f265a36c9a..18e50879db 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncurses
-pkgver=6.2_p20200308
+pkgver=6.2_p20200314
_ver=${pkgver/_p/-}
pkgrel=0
pkgdesc="Console display library"
@@ -46,7 +46,11 @@ package() {
# Install basic terms in /etc/terminfo
for i in ansi console dumb linux rxvt screen sun vt52 vt100 vt102 \
- vt200 vt220 xterm xterm-color xterm-xfree86; do
+ vt200 vt220 xterm xterm-color xterm-xfree86 xterm-256color \
+ alacritty tmux tmux-256color terminator terminology* \
+ vte vte-256color gnome gnome-256color kitty konsole konsole-256color \
+ konsole-linux putty putty-256color rxvt-256color st-* \
+ screen-256color; do
local termfile=$(find "$pkgdir"/usr/share/terminfo/ -name "$i" 2>/dev/null) || true
local basedir=$(basename "$(dirname "$termfile")")
@@ -76,9 +80,8 @@ terminfo() {
pkgdesc="$pkgdesc (other terminfo files)"
depends="$pkgname-terminfo-base=$pkgver-r$pkgrel"
- amove etc/terminfo
- amove usr/share/terminfo
- amove usr/lib/terminfo
+ mkdir -p $subpkgdir/usr/share $subpkgdir/usr/lib
+ mv $pkgdir/usr/lib/terminfo $subpkgdir/usr/lib
}
libs() {
@@ -94,32 +97,8 @@ base() {
depends=""
pkgdesc="Descriptions of common terminals"
- amove usr/share/terminfo/x/xterm-256color
- amove usr/share/terminfo/a/alacritty
- amove usr/share/terminfo/t/tmux
- amove usr/share/terminfo/t/tmux-256color
- amove usr/share/terminfo/t/terminator
- amove usr/share/terminfo/t/terminology*
- amove usr/share/terminfo/v/vte
- amove usr/share/terminfo/v/vte-256color
- amove usr/share/terminfo/g/gnome
- amove usr/share/terminfo/g/gnome-256color
- amove usr/share/terminfo/k/kitty
- amove usr/share/terminfo/k/konsole
- amove usr/share/terminfo/k/konsole-256color
- amove usr/share/terminfo/k/konsole-linux
- amove usr/share/terminfo/p/putty
- amove usr/share/terminfo/p/putty-256color
- amove usr/share/terminfo/r/rxvt
- amove usr/share/terminfo/r/rxvt-256color
- amove usr/share/terminfo/s/st-0*
- amove usr/share/terminfo/s/st-256color
- amove usr/share/terminfo/s/screen-256color
- amove etc/terminfo
-
- mkdir -p "$pkgdir"/etc/terminfo/s
- mv "$subpkgdir"/etc/terminfo/s/sun "$pkgdir"/etc/terminfo/s
- mv "$subpkgdir"/etc/terminfo/v "$pkgdir"/etc/terminfo
+ mkdir -p "$subpkgdir"/etc/terminfo
+ mv "$pkgdir"/etc/terminfo/ "$subpkgdir"/etc/
}
static() {
@@ -128,4 +107,4 @@ static() {
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
}
-sha512sums="27a0e5e5a89a332188b05f62066b6b7d613c37685e89bd17fa5287c52a120b8c3935b808e66280cf80b2254d030f911fe309f921946c343672078974d2a331b9 ncurses-6.2-20200308.tgz"
+sha512sums="cf2f8341c6a743c52d7baed6508c4d717d1b44d6459f6717811afae85659792ef6babb8b5e998ad555aac6518fca7bef971eb01c1145b3547352670ac087828c ncurses-6.2-20200314.tgz"