summaryrefslogtreecommitdiffstats
path: root/extra/rxvt-unicode/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-24 15:46:03 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-24 15:46:03 +0200
commite602bc463f4e64096eb7ce2c05e573438542553c (patch)
tree7bd18ecf7afaf2177bcf227cc5046a1f747bfa38 /extra/rxvt-unicode/Pkgfile
parent433398f14f36f3f4cc4ab3e128c16f8ff3ef5dfd (diff)
downloadnutyx-extra-e602bc463f4e64096eb7ce2c05e573438542553c.tar.gz
nutyx-extra-e602bc463f4e64096eb7ce2c05e573438542553c.tar.bz2
nutyx-extra-e602bc463f4e64096eb7ce2c05e573438542553c.tar.xz
nutyx-extra-e602bc463f4e64096eb7ce2c05e573438542553c.zip
Ajout de rxvt-unicode#9.06-1
Diffstat (limited to 'extra/rxvt-unicode/Pkgfile')
-rw-r--r--extra/rxvt-unicode/Pkgfile57
1 files changed, 57 insertions, 0 deletions
diff --git a/extra/rxvt-unicode/Pkgfile b/extra/rxvt-unicode/Pkgfile
new file mode 100644
index 000000000..6846133ac
--- /dev/null
+++ b/extra/rxvt-unicode/Pkgfile
@@ -0,0 +1,57 @@
+# 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, ncurses, perl
+
+name=rxvt-unicode
+version=9.06
+release=1
+source=(http://dist.schmorp.de/$name/$name-$version.tar.bz2 \
+ rxvt-unicode.desktop \
+ rxvt-unicode.png \
+ font-width-fix.patch \
+ gcc4.4.patch)
+
+build() {
+ cd $name-$version
+ # Add 256 color support
+ patch -p1 -i doc/urxvt-8.2-256color.patch || return 1
+
+ # Fix font width bug fix
+ patch -p0 -i ../font-width-fix.patch || return 1
+
+ # Port to compile with GCC4.4
+ patch -p0 -i ../gcc4.4.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 -d $PKG/usr/share/terminfo
+# export TERMINFO=$PKG/usr/share/terminfo
+# 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
+}