2010-09-23 10:24:25 +08:00
|
|
|
pkgname=screen
|
2017-02-26 09:48:23 +08:00
|
|
|
pkgver=4.5.1
|
2017-01-18 07:40:26 +08:00
|
|
|
pkgrel=1
|
2010-09-23 10:24:25 +08:00
|
|
|
_ptygroup=5 #the UID of our PTY/TTY group
|
|
|
|
pkgdesc="Full-screen window manager that multiplexes a physical terminal"
|
2014-06-05 07:52:12 +08:00
|
|
|
arch=('x86_64')
|
2010-09-23 10:24:25 +08:00
|
|
|
url="http://www.gnu.org/software/screen/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('ncurses' 'pam')
|
|
|
|
backup=('etc/screenrc' 'etc/pam.d/screen')
|
|
|
|
options=('!makeflags')
|
2014-06-05 07:52:12 +08:00
|
|
|
groups=('system')
|
2010-09-23 10:24:25 +08:00
|
|
|
install=screen.install
|
2015-06-29 21:35:13 +08:00
|
|
|
source=("http://ftp.gnu.org/gnu/screen/screen-${pkgver}.tar.gz"
|
2015-06-14 21:28:30 +08:00
|
|
|
screen.pam)
|
2017-02-26 09:48:23 +08:00
|
|
|
md5sums=('a8c5da2f42f8a18fa4dada2419d1549b'
|
2014-06-05 07:52:12 +08:00
|
|
|
'74f7919d7b65436cc2ea5341fa8ca374')
|
2010-09-23 10:24:25 +08:00
|
|
|
|
|
|
|
build() {
|
2014-06-05 07:52:12 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-pam \
|
|
|
|
--enable-colors256 \
|
|
|
|
--enable-rxvt_osc \
|
|
|
|
--enable-telnet \
|
|
|
|
--with-pty-group=$_ptygroup \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--infodir=/usr/share/info \
|
|
|
|
--with-socket-dir=/run/screens \
|
|
|
|
--with-sys-screenrc=/etc/screenrc \
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
2010-09-23 10:24:25 +08:00
|
|
|
|
2014-06-05 07:52:12 +08:00
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
2010-09-23 10:24:25 +08:00
|
|
|
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
|
|
|
|
}
|