blob: 77c2758f471944445ba45488ae3be052c1339bdb (
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
|
# $Id: PKGBUILD 68942 2012-04-06 10:19:39Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=rxvt-unicode
pkgver=9.15
pkgrel=2
pkgdesc='An unicode enabled rxvt-clone terminal emulator (urxvt)'
arch=('i686' 'x86_64')
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
license=('GPL')
depends=('gcc-libs' 'libxft' 'gdk-pixbuf2' 'perl')
optdepends=('gtk2-perl: to use the urxvt-tabbed')
source=(
"http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2"
'urxvt.desktop'
'urxvtc.desktop'
'urxvt-tabbed.desktop'
)
md5sums=('15595aa326167ac5eb68c28d95432faf'
'88d8786d74b819450adf722180db09fd'
'bebf5b6b399b74b557fcedbdb47cc387'
'2604896bb107fbb5511bfd6f46d65894')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--enable-256-color \
--enable-font-styles \
--enable-xim \
--enable-keepscrolling \
--enable-selectionscrolling \
--enable-smart-resize \
--enable-pixbuf \
--enable-transparency \
--enable-utmp \
--enable-wtmp \
--enable-lastlog \
--disable-frills
make
}
package() {
cd $pkgname-$pkgver
# workaround terminfo installation
export TERMINFO="$pkgdir/usr/share/terminfo"
install -d "$TERMINFO"
make DESTDIR="$pkgdir" install
# install the tabbing wrapper ( requires gtk2-perl! )
sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
# install freedesktop menu
for _f in urxvt urxvtc urxvt-tabbed; do
install -Dm644 ../$_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
done
}
# vim:set ts=2 sw=2 ft=sh et:
|