summaryrefslogtreecommitdiffstats
path: root/rxvt-unicode/Pkgfile
blob: 8d6c29f78417db22de436dcf346758c2108ff55e (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
# Description: Clone d'un terminal rxvt (urxvt) avec support 256 couileurs
# URL:http://software.schmorp.de/pkg/rxvt-unicode.html
# Maintainer:  NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: xorg-libxft, p5-xml-parser
# Run on: xorg-libxft,p5-xml-parser

name=rxvt-unicode
version=9.10
release=1
source=(http://dist.schmorp.de/$name/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/$name/{rxvt-unicode.desktop,rxvt-unicode.png,font-width-fix.patch} )

build() {
	cd $name-$version

	# Fix font width bug fix
        patch -p0 -i ../font-width-fix.patch

        ./configure --prefix=/usr \
		--with-terminfo=/usr/share/terminfo \
                --with-term=rxvt-256color \
                --enable-smart-resize \
		--enable-font-styles \
		--enable-xim \
    		--enable-keepscrolling \
    		--enable-selectionscrolling \
		--enable-xpm-background \
    		--enable-transparency \
    		--enable-utmp \
    		--enable-wtmp \
    		--enable-lastlog

        make
        make DESTDIR=$PKG install

        # install the tabbing wrapper
        sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
        install -D -m755 doc/rxvt-tabbed $PKG/usr/bin/urxvt-tabbed

        # install freedesktop menu and icon ( icon from cvs checkout )
        install -D -m644 ../rxvt-unicode.desktop \
                $PKG/usr/share/applications/rxvt-unicode.desktop
        install -Dm644 ../rxvt-unicode.png \
                $PKG/usr/share/pixmaps/rxvt-unicode.png
}