makedeb


rxvt-unicode 9.31-2


Unicode enabled rxvt-clone terminal emulator (urxvt)

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for rxvt-unicode.

# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=rxvt-unicode
pkgver=9.31
pkgrel=2
pkgdesc="Unicode enabled rxvt-clone terminal emulator (urxvt)"
arch=('amd64')
url="http://software.schmorp.de/pkg/rxvt-unicode.html"
license=('GPL')
makedepends=('libxft-dev' 'perl' 'libstartup-notification0-dev' 'libstartup-notification0' 'libxmu-dev' 'libperl-dev')
depends=('libxft2' 'perl' 'libstartup-notification0' 'libptytty-bin')
bullseye_depends=(${depends[@]} 'libnsl-dev' 'libnsl2' 'terminfo')
hirsute_depends=(${depends[@]} 'libnsl-dev' 'libnsl2' 'terminfo')
optdepends=('libgtk3-perl: to use the urxvt-tabbed')
source=(http://dist.schmorp.de/rxvt-unicode/${pkgname}-${pkgver}.tar.bz2)
provides=('rxvt-unicode' )
conflicts=('rxvt-unicode' 'rxvt-unicode-256color')
# replaces=('rxvt-unicode' 'rxvt-unicode-256color')
sha512sums=('4d14ecbbb62de1b1c717277f5aae5cfb536e11392f2d4b82c884c1713f437fce8e9dd69a328fa353a55d068d8ee4121a31900f45191acec172d5dc76652b6255')
build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure  --prefix=/usr --enable-everything --enable-smart-resize
    #--enable-256-color \
    #--enable-combining \
    #--enable-fading \
    #--enable-font-styles \
    #--enable-iso14755 \
    #--enable-keepscrolling \
    #--enable-lastlog \
    #--enable-mousewheel \
    #--enable-next-scroll \
    #--disable-perl \
    #--enable-pointer-blank \
    #--enable-rxvt-scroll \
    #--enable-selectionscrolling \
    #--enable-slipwheeling \
    #--disable-smart-resize \
    #--enable-startup-notification \
    #--enable-transparency \
    #--enable-unicode3 \
    #--enable-utmp \
    #--enable-wtmp \
    #--enable-xft \
    #--enable-xim \
    #--enable-xterm-scroll \
    #--disable-pixbuf \
    #--disable-frills
  make
  #tic -x "${srcdir}/${pkgname}-${pkgver}/doc/etc/rxvt-unicode.terminfo"
}

package() {
  #install freedesktop menu
  cd ..
  for _f in urxvt urxvtc ; do
   install -Dm644 ${_f}.desktop "${pkgdir}/usr/share/applications/${_f}.desktop"
  done


  #workaround terminfo installation
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" TERMINFO="/tmp" install
}