blob: 21efb635f24eff02f8687234cbebfadce7be2aae (
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 211915 2014-04-29 18:49:14Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Committer: dorphell <dorphell@gmx.net>
pkgname=screen
pkgver=4.2.1
pkgrel=2
_ptygroup=5 #the UID of our PTY/TTY group
pkgdesc='Full-screen window manager that multiplexes a physical terminal'
url='http://www.gnu.org/software/screen/'
arch=('i686' 'x86_64')
license=('GPL')
depends=('ncurses' 'pam')
backup=('etc/screenrc' 'etc/pam.d/screen')
source=("http://ftp.gnu.org/gnu/screen/screen-${pkgver}.tar.gz"{,.sig}
'pam.d')
sha1sums=('21eadf5f1d64120649f3390346253c6bc8a5103c' 'SKIP'
'1ab4b512d2ac840d16db6986d7c98d7ce2f6383f')
options=('!makeflags')
install=install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-colors256 \
--enable-pam \
--enable-rxvt_osc \
--enable-telnet \
--with-pty-group=$_ptygroup \
--with-socket-dir=/run/screens \
--with-sys-screenrc=/etc/screenrc \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 ../pam.d "${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
}
|