mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
Removed build option font_patches. Apply patches without option.
This commit is contained in:
parent
d23bd555ee
commit
6ae919d96f
1 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'rxvt-unicode'.
|
# Template build file for 'rxvt-unicode'.
|
||||||
pkgname=rxvt-unicode
|
pkgname=rxvt-unicode
|
||||||
version=9.19
|
version=9.19
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--with-terminfo=/usr/share/terminfo --enable-256-color
|
--with-terminfo=/usr/share/terminfo --enable-256-color
|
||||||
|
@ -23,6 +23,10 @@ long_desc="
|
||||||
locale-correct input and output. It also supports mixing multiple
|
locale-correct input and output. It also supports mixing multiple
|
||||||
fonts at the same time, including Xft fonts."
|
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() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||||
|
@ -59,10 +63,3 @@ if [ "$build_option_startup_notification" ]; then
|
||||||
else
|
else
|
||||||
configure_args+=" --disable-startup-notification"
|
configure_args+=" --disable-startup-notification"
|
||||||
fi
|
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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue