2009-12-22 14:31:24 +00:00
|
|
|
# Template build file for 'rxvt-unicode'.
|
|
|
|
pkgname=rxvt-unicode
|
2013-04-06 09:07:09 +00:00
|
|
|
version=9.18
|
2013-05-06 10:38:00 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-01-14 23:11:38 +00:00
|
|
|
configure_args="--with-terminfo=/usr/share/terminfo --enable-256-color
|
2013-05-06 10:38:00 +00:00
|
|
|
--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
|
2013-05-06 10:38:00 +00:00
|
|
|
--enable-combining --with-term=rxvt-256color"
|
2013-04-06 09:07:09 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-05-06 10:38:00 +00:00
|
|
|
makedepends="renderproto fontconfig-devel libXrender-devel libXft-devel libSM-devel"
|
2009-12-22 14:31:24 +00:00
|
|
|
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"
|
2012-12-16 03:34:42 +00:00
|
|
|
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2013-04-06 09:07:09 +00:00
|
|
|
checksum=87b72a43cac7c9362a984094c661a632ce1a829ad90f149142ab1953854b433f
|
2013-03-16 02:47:18 +00:00
|
|
|
long_desc="
|
|
|
|
$pkgname is a clone of the well known terminal emulator rxvt,
|
|
|
|
modified to store text in Unicode (either UCS-2 or UCS-4) and to use
|
|
|
|
locale-correct input and output. It also supports mixing multiple
|
|
|
|
fonts at the same time, including Xft fonts."
|
2009-12-22 14:31:24 +00:00
|
|
|
|
2012-01-25 12:33:19 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
|
2011-01-14 23:11:38 +00:00
|
|
|
}
|
2013-04-14 09:53:56 +00:00
|
|
|
|
2013-05-06 10:38:00 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="gdk_pixbuf perl startup_notification"
|
|
|
|
desc_option_gdk_pixbuf="Enable support to use transparency via gdk-pixbuf"
|
|
|
|
desc_option_perl="Enable support for perl bindings"
|
|
|
|
desc_option_startup_notification="Enable support for desktop notification"
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2013-04-14 09:53:56 +00:00
|
|
|
rxvt-unicode_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|