void-packages/srcpkgs/screen/template
2017-07-16 08:36:05 +02:00

24 lines
873 B
Bash

# Template file for 'screen'
pkgname=screen
version=4.6.1
revision=1
build_style=gnu-configure
configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam
--enable-colors256 --enable-rxvt_osc --enable-telnet
--enable-use-locale --with-socket-dir=/run/screens --with-pty-group=5"
makedepends="pam-devel ncurses-devel"
conf_files="/etc/screenrc /etc/skel/.screenrc"
short_desc="GNU screen manager with VT100/ANSI terminal emulation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/s/screen/"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=aba9af66cb626155d6abce4703f45cce0e30a5114a368bd6387c966cbbbb7c64
post_install() {
vinstall etc/etcscreenrc 0644 etc screenrc
vinstall etc/screenrc 0644 etc/skel .screenrc
vinstall ${FILESDIR}/screen 0644 etc/pam.d
chmod 4755 ${DESTDIR}/usr/bin/screen-${version}
}