void-packages/srcpkgs/rxvt-unicode/template

65 lines
2 KiB
Plaintext
Raw Normal View History

# Template build file for 'rxvt-unicode'.
pkgname=rxvt-unicode
2014-04-30 07:24:43 +00:00
version=9.20
revision=2
build_style=gnu-configure
2013-11-02 08:15:19 +00:00
configure_args="
--with-terminfo=/usr/share/terminfo --enable-256-color
--enable-font-styles --enable-xim --enable-keepscrolling
2012-12-28 08:18:05 +00:00
--enable-selectionscrolling --enable-smart-resize --enable-transparency
--enable-utmp --enable-wtmp --enable-lastlog --disable-frills
--enable-combining --with-term=rxvt-256color"
2013-04-06 09:07:09 +00:00
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>"
2011-06-18 12:43:39 +00:00
homepage="http://software.schmorp.de/pkg/rxvt-unicode.html"
license="GPL-2"
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
2014-04-30 07:24:43 +00:00
checksum=e73e13fe64b59fd3c8e6e20c00f149d388741f141b8155e4700d3ed40aa94b4e
pre_build() {
sed -i 's,tic,/bin/true,g' doc/Makefile
}
2012-01-25 12:33:19 +00:00
post_install() {
vinstall doc/etc/rxvt-unicode.terminfo 644 usr/share/terminfo/r
2012-01-25 12:33:19 +00:00
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
2011-01-14 23:11:38 +00:00
}
# Package build options
build_options="gdk_pixbuf perl startup_notification unicode3"
desc_option_unicode3="Use 21 instead of 16 bits to represent unicode chars"
# Enable startup-notification by default.
build_options_default="startup_notification"
if [ "$build_option_gdk_pixbuf" ]; then
configure_args+=" --enable-pixbuf"
makedepends+=" gdk-pixbuf-devel"
else
configure_args+=" --disable-pixbuf"
fi
if [ "$build_option_perl" ]; then
configure_args+=" --enable-perl"
makedepends+=" perl"
else
configure_args+=" --disable-perl"
fi
if [ "$build_option_startup_notification" ]; then
configure_args+=" --enable-startup-notification"
makedepends+=" startup-notification-devel"
else
configure_args+=" --disable-startup-notification"
fi
if [ "$build_option_unicode3" ]; then
configure_args+=" --enable-unicode3"
else
configure_args+=" --disable-unicode3"
fi