1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Committer: dorphell <dorphell@gmx.net>
8 pkgdesc='Full-screen window manager that multiplexes a physical terminal'
9 url='https://www.gnu.org/software/screen/'
12 depends=('ncurses' 'pam')
13 validpgpkeys=('2EE59A5D0C50167B5535BBF1B708A383C53EF3A4'
14 '71AA09D9E8870FDB0AA7B61E21F968DEF747ABD7'
15 'B4560FD8C9F2DE3BE308EBA3933AD21886F69FBF')
16 source=("https://ftp.gnu.org/gnu/screen/screen-${pkgver}.tar.gz"{,.sig}
19 sha256sums=('f9335281bb4d1538ed078df78a20c2f39d3af9a4e91c57d084271e0289c730f4'
21 '1f33ce4faca7bd05dd80403411af31e682d5d23e79558e884ae5a35f1dd96223'
22 '971c25929ea97422c09e10679ab98e9e6c59295aae1a4a9970909d2206e23090')
24 backup=('etc/screenrc' 'etc/pam.d/screen')
25 options=('!makeflags')
27 _ptygroup=5 #the UID of our PTY/TTY group
30 cd ${pkgname}-${pkgver}
31 NOCONFIGURE=1 ./autogen.sh
35 cd ${pkgname}-${pkgver}
39 --mandir=/usr/share/man \
40 --infodir=/usr/share/info \
45 --with-pty-group=$_ptygroup \
46 --with-socket-dir=/run/screens \
47 --with-sys-screenrc=/etc/screenrc \
52 cd ${pkgname}-${pkgver}
53 make DESTDIR="${pkgdir}" install
55 install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/screen
56 install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/screen.conf
58 install -Dm644 etc/etcscreenrc "${pkgdir}"/etc/screenrc
59 install -Dm644 etc/screenrc "${pkgdir}"/etc/skel/.screenrc