blob: 951723a1d0e77cbd3edee9e866287d43512373b8 (
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
|
# $Id: PKGBUILD 40237 2009-05-29 00:52:11Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Committer: dorphell <dorphell@gmx.net>
pkgname=screen
pkgver=4.0.3
pkgrel=8
_ptygroup=5 #the UID of our PTY/TTY group
pkgdesc="Full-screen window manager that multiplexes a physical terminal"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/screen/"
license=('GPL')
depends=('ncurses' 'pam')
backup=('etc/screenrc' 'etc/pam.d/screen')
options=('!makeflags')
install=screen.install
source=(ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-${pkgver}.tar.gz \
screen.pam widescreen.patch)
build() {
export LDFLAGS="${LDFLAGS} -Wl,--as-needed"
cd ${srcdir}/${pkgname}-${pkgver}
patch -p0 < $srcdir/widescreen.patch
./configure --prefix=/usr --enable-pam \
--with-sys-screenrc=/etc/screenrc --enable-colors256 \
--enable-rxvt_osc --with-pty-group=$_ptygroup \
--mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -Dm644 ${srcdir}/screen.pam ${pkgdir}/etc/pam.d/screen
install -Dm644 etc/completer.zsh ${pkgdir}/usr/share/zsh/site-functions/screen
install -Dm644 etc/etcscreenrc ${pkgdir}/etc/screenrc
install -Dm644 etc/screenrc ${pkgdir}/etc/skel/.screenrc
rm ${pkgdir}/usr/share/info/dir
gzip -9 ${pkgdir}/usr/share/info/*
}
md5sums=('8506fd205028a96c741e4037de6e3c42'
'74f7919d7b65436cc2ea5341fa8ca374'
'1496b6bd2ffd64a15a0381cba5cb3e86')
sha1sums=('7bc6e2f0959ffaae6f52d698c26c774e7dec3545'
'1ab4b512d2ac840d16db6986d7c98d7ce2f6383f'
'5363335b4d940ac5fa5e31feae976f500099ec20')
md5sums=('8506fd205028a96c741e4037de6e3c42'
'74f7919d7b65436cc2ea5341fa8ca374'
'e6e382cb512b43b4ec06fd9b1e8262af')
sha1sums=('7bc6e2f0959ffaae6f52d698c26c774e7dec3545'
'1ab4b512d2ac840d16db6986d7c98d7ce2f6383f'
'75238d37fe40bda0b3debe1abb6f0777015c8185')
|