summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a0a035d86b0683c904ef5b737f8e1680d7dcd6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=rxvt-unicode-256color
_pkgname=rxvt-unicode
pkgver=9.26
pkgrel=3
pkgdesc="Unicode enabled rxvt-clone terminal emulator (urxvt) with the 256 colors enabled"
arch=('x86_64')
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')
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')
sha256sums=('643116b9a25d29ad29f4890131796d42e6d2d21312282a613ef66c80c5b8c98b')
build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  ./configure  --prefix=/usr --enable-everything --enable-smart-resize --enable-256-color --enable-pixbuf
    #--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
}