core/rxvt-unicode/PKGBUILD
2013-11-24 17:34:49 +00:00

80 lines
2.3 KiB
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
pkgname=rxvt-unicode
pkgver=9.19
pkgrel=1
pkgdesc="An unicode enabled rxvt-clone terminal emulator (urxvt)."
arch=('x86_64')
depends=('libxft' 'perl' 'startup-notification')
optdepends=('perl: lots of utilities'
'gtk2: urxvt-tabbed'
'gtk2-perl: to use the urxvt-tabbed')
url="http://software.schmorp.de/pkg/rxvt-unicode.html"
license=("GPL")
source=("http://dist.schmorp.de/rxvt-unicode/${pkgname}-${pkgver}.tar.bz2"
"urxvt.desktop"
"urxvtc.desktop"
"urxvt-tabbed.desktop")
md5sums=('45ad197eb9b5a840c0f65e3a8131921c'
'4a041e3baa87991c415468e12bc6bcc9'
'fac55f0a8404c86dad3e702146762332'
'8a5599197568c63720e282b9722a7990')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--enable-256-color \
--enable-combining \
--enable-fading \
--enable-font-styles \
--enable-iso14755 \
--enable-keepscrolling \
--enable-lastlog \
--enable-mousewheel \
--enable-next-scroll \
--enable-perl \
--enable-pointer-blank \
--enable-rxvt-scroll \
--enable-selectionscrolling \
--enable-slipwheeling \
--enable-smart-resize \
--enable-startup-notification \
--enable-transparency \
--enable-utmp \
--enable-wtmp \
--enable-xft \
--enable-xim \
--enable-xterm-scroll \
--enable-pixbuf \
--disable-frills
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
export TERMINFO="${pkgdir}/usr/share/terminfo"
install -d "$TERMINFO"
make DESTDIR="${pkgdir}" install
# install the tabbing wrapper ( requires gtk2-perl! )
sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
install -Dm 755 doc/rxvt-tabbed "${pkgdir}/usr/bin/urxvt-tabbed"
cd "${srcdir}"
# install freedesktop menu
for _f in urxvt urxvtc urxvt-tabbed; do
install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
done
# remove the terminfo files: we will provide them in the ncurses package,
# so that, e.g., you can install ncurses on a remote server and correctly
# connect to it via a remote shell login through rxvt-unicode, not needing
# to install rxvt-unicode on the server as well just for that matter.
rm -rf "${pkgdir}/usr/share/terminfo"
}
# vim:set ts=2 sw=2 et: