From 6ae919d96ffae43700128ca8cd012886a3c4ce49 Mon Sep 17 00:00:00 2001 From: Jan S Date: Mon, 3 Feb 2014 09:25:08 +0100 Subject: [PATCH] Removed build option font_patches. Apply patches without option. --- srcpkgs/rxvt-unicode/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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