rxvt-unicode: add missing rxvt-unicode{,-256color} terminfo

This commit is contained in:
Alessio Sergi 2014-05-12 11:05:03 +02:00
parent 8ca4161b86
commit 48a018c9bb
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
tic -s usr/share/terminfo/r/rxvt-unicode.terminfo
;;
esac

View File

@ -0,0 +1,6 @@
case "${ACTION}" in
pre)
rm -f usr/share/terminfo/r/rxvt-unicode
rm -f usr/share/terminfo/r/rxvt-unicode-256color
;;
esac

View File

@ -1,7 +1,7 @@
# Template build file for 'rxvt-unicode'.
pkgname=rxvt-unicode
version=9.20
revision=1
revision=2
build_style=gnu-configure
configure_args="
--with-terminfo=/usr/share/terminfo --enable-256-color
@ -11,6 +11,7 @@ configure_args="
--enable-combining --with-term=rxvt-256color"
hostmakedepends="pkg-config"
makedepends="renderproto fontconfig-devel libXrender-devel libXft-devel libSM-devel"
depends="ncurses"
short_desc="rxvt clone supporting Xft fonts and Unicode"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://software.schmorp.de/pkg/rxvt-unicode.html"
@ -18,7 +19,12 @@ license="GPL-2"
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=e73e13fe64b59fd3c8e6e20c00f149d388741f141b8155e4700d3ed40aa94b4e
pre_build() {
sed -i 's,tic,/bin/true,g' doc/Makefile
}
post_install() {
vinstall doc/etc/rxvt-unicode.terminfo 644 usr/share/terminfo/r
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
}