1 # Contributor: Kosenko Roman <madkite@gmail.com>
2 pkgname=rxvt-unicode-cvs
5 pkgdesc='A clone of the well known terminal emulator rxvt, development version'
6 url='http://software.schmorp.de/pkg/rxvt-unicode.html'
9 depends=('gcc-libs' 'libxft' 'libxpm')
10 makedepends=('ncurses' 'perl' 'pkgconfig' 'cvs')
11 optdepends=('perl: plugins' 'xsel-svn: clipboard support')
13 urxvtcd.sh tabbed.pl remote-clipboard.pl pagescroll.pl x-defaults \
14 noinc.patch popup-menu-hang.patch default-daemon-options.patch)
15 provides=('rxvt-unicode')
16 conflicts=('rxvt-unicode')
18 _cvsroot=":pserver:anonymous:@cvs.schmorp.de/schmorpforge"
19 _cvsmod="rxvt-unicode"
21 _cvssrc="${SRCDEST}/${pkgname}.tar.gz"
25 [ -d ${_cvsmod} ] && rm -rf ${_cvsmod}
26 [ -f ${_cvssrc} ] && tar -xzf ${_cvssrc}
27 msg "Connecting to ${_cvsmod} CVS server...."
28 if [ -d ${_cvsmod}/CVS ]; then
29 (cd ${_cvsmod} && cvs -z3 update -d)
31 cvs -z3 -d ${_cvsroot} co -D ${pkgver} -f ${_cvsmod}
33 tar -czf ${_cvssrc} ${_cvsmod}
37 #patch -p0 -i ../noinc.patch || return $?
38 patch -p0 -i ../popup-menu-hang.patch || return $?
39 patch -p0 -i ../default-daemon-options.patch || return $?
41 msg "Starting make..."
42 rm -rf ../${_cvsmod}-build
43 mkdir ../${_cvsmod}-build
44 cd ../${_cvsmod}-build
45 ../${_cvsmod}/configure --prefix=/usr --with-terminfo=/usr/share/terminfo --mandir=/usr/man \
47 --enable-font-styles \
55 --disable-afterimage \
56 --disable-transparency \
58 --disable-rxvt-scroll \
59 --disable-next-scroll \
60 --disable-xterm-scroll \
63 --disable-keepscrolling \
64 --enable-selectionscrolling \
66 --enable-slipwheeling \
67 --enable-smart-resize \
73 mkdir -p ${startdir}/pkg/usr/share/terminfo
74 TERMINFO=${startdir}/pkg/usr/share/terminfo make DESTDIR=${startdir}/pkg install || return $?
75 install -m755 ../urxvtcd.sh ${startdir}/pkg/usr/bin/urxvtcd
76 install -m644 -D ../${_cvsmod}/debian/urxvtcd.1 ${startdir}/pkg/usr/man/man1/urxvtcd.1 || true
77 install -m644 -D ../x-defaults ${startdir}/pkg/etc/X11/app-defaults/URxvt
79 for i in *.pl; do install -m644 -D ${i} ${startdir}/pkg/usr/lib/urxvt/perl/${i%.pl}; done
82 md5sums=('bb73d416b4b1bf7708c422ae514e3fab'
83 'de9f9c9516e9255a5edd4056e1d021e5'
84 '8eea30c5aa019160f5b8bf6172b4cc77'
85 '451e64febc1d55411f8ad4ca57875800'
86 'e178258e4bee1d38e317769106347f2c'
87 '4b8610ab203247cf84151ccd706180d2'
88 'aead33ba3b08eeb251fb0c1427a4a024'
89 '323b640317ce8752f712ce8af69cebb7')