blob: 2acebb05321729255a68c83cae9527cd386d63cc (
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
64
65
|
# Contributor: tobias <tobias@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributer: N30N <archlinux@alunamation.com>
# Contributor: Florian Pritz <f-p@gmx.at>
# Contributor: RayNbow <ShinNoNoir@gmail.com>
# Contributor: Oliver Mader <dotb52@gmail.com>
pkgname="rxvt-unicode-256color"
pkgver=9.06
pkgrel=3
pkgdesc="a unicode enabled rxvt-clone terminal emulator (urxvt), with 256 colour support"
arch=("i686" "x86_64")
depends=("gcc-libs" "libxft")
makedepends=("ncurses" "perl" "pkgconfig")
optdepends=("gtk2-perl: for urxvt-tabbed usage")
url="http://software.schmorp.de/pkg/rxvt-unicode.html"
license=("GPL2")
source=("rxvt-unicode.desktop" \
"rxvt-unicode.png" \
"font-width-fix.patch" \
"gcc4.4.patch" \
http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-${pkgver}.tar.bz2)
md5sums=("ef2dfa44a86cae36a60f45559d8ad783" \
"84328cada91751df07324d95f8be4d1b" \
"df0c3a8b6bb0578d1b91e4081c47881c"
"1b9b112df2204e1e58c66bf2d5776422" \
"4cb9330e99fc0b0b05cebf3581557dd8")
provides=("rxvt-unicode")
conflicts=("rxvt-unicode")
replaces=("rxvt-unicode-256color-fontfix")
build() {
cd ${srcdir}/rxvt-unicode-${pkgver}
# Add 256 color support
patch -p1 -i doc/urxvt-8.2-256color.patch || return 1
# Fix font width bug fix
patch -p0 -i ${srcdir}/font-width-fix.patch || return 1
# Port to compile with GCC4.4
patch -p0 -i ${srcdir}/gcc4.4.patch || return 1
./configure --prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--with-term=rxvt-256color \
--enable-smart-resize \
--disable-iso14755
msg "Starting build process."
make || return 1
install -d ${pkgdir}/usr/share/terminfo
TERMINFO=${pkgdir}/usr/share/terminfo
make DESTDIR=${pkgdir} install
# install the tabbing wrapper
sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
install -D -m755 doc/rxvt-tabbed ${startdir}/pkg/usr/bin/urxvt-tabbed
# install freedesktop menu and icon ( icon from cvs checkout )
install -D -m644 ${srcdir}/rxvt-unicode.desktop \
${pkgdir}/usr/share/applications/rxvt-unicode.desktop
install -Dm644 ${srcdir}/rxvt-unicode.png \
${pkgdir}/usr/share/pixmaps/rxvt-unicode.png
}
|