diff --git a/srcpkgs/rxvt-unicode/template b/srcpkgs/rxvt-unicode/template index 1f8db402bd2..6da0f000cb4 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.19 -revision=1 +revision=2 build_style=gnu-configure configure_args=" --with-terminfo=/usr/share/terminfo --enable-256-color @@ -23,6 +23,10 @@ long_desc=" locale-correct input and output. It also supports mixing multiple fonts at the same time, including Xft fonts." +pre_configure() { + patch -p0 -i ${FILESDIR}/font-width-fix.patch + patch -p0 -i ${FILESDIR}/line-spacing-fix.patch +} post_install() { vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications @@ -59,10 +63,3 @@ if [ "$build_option_startup_notification" ]; then else configure_args+=" --disable-startup-notification" fi - -if [ "$build_option_font_patches" ]; then - pre_configure() { - patch -p0 -i ${FILESDIR}/font-width-fix.patch - patch -p0 -i ${FILESDIR}/line-spacing-fix.patch - } - fi