From 48a018c9bb01d6ff3a0804752e1c422779c20157 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 12 May 2014 11:05:03 +0200 Subject: [PATCH] rxvt-unicode: add missing rxvt-unicode{,-256color} terminfo --- srcpkgs/rxvt-unicode/INSTALL | 5 +++++ srcpkgs/rxvt-unicode/REMOVE | 6 ++++++ srcpkgs/rxvt-unicode/template | 8 +++++++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/rxvt-unicode/INSTALL create mode 100644 srcpkgs/rxvt-unicode/REMOVE diff --git a/srcpkgs/rxvt-unicode/INSTALL b/srcpkgs/rxvt-unicode/INSTALL new file mode 100644 index 00000000000..79714cfee9b --- /dev/null +++ b/srcpkgs/rxvt-unicode/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + tic -s usr/share/terminfo/r/rxvt-unicode.terminfo + ;; +esac diff --git a/srcpkgs/rxvt-unicode/REMOVE b/srcpkgs/rxvt-unicode/REMOVE new file mode 100644 index 00000000000..99f90f59cdc --- /dev/null +++ b/srcpkgs/rxvt-unicode/REMOVE @@ -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 diff --git a/srcpkgs/rxvt-unicode/template b/srcpkgs/rxvt-unicode/template index a6f78c511a1..ced9b4379c9 100644 --- a/srcpkgs/rxvt-unicode/template +++ b/srcpkgs/rxvt-unicode/template @@ -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 " 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 }