screen: Added INSTALL file; fixed deps; fixed post_*()
This commit is contained in:
parent
a624ea4ef7
commit
004d75c535
2 changed files with 25 additions and 10 deletions
21
srcpkgs/screen/INSTALL
Normal file
21
srcpkgs/screen/INSTALL
Normal file
|
@ -0,0 +1,21 @@
|
|||
#
|
||||
# This script will advise the user to use the example configuration
|
||||
# files included with the package.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
cat << _EOF
|
||||
=====================================================================
|
||||
|
||||
- Optional example configuration files have been copied to:
|
||||
/usr/share/examples/screen/
|
||||
|
||||
- Copy screenrc to /home/your_user_name/.screenrc for user config
|
||||
- Copy etcscreenrc to /etc/screenrc for system config
|
||||
|
||||
=====================================================================
|
||||
_EOF
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'screen'
|
||||
pkgname=screen
|
||||
version=4.0.3
|
||||
revision=1
|
||||
revision=2
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-colors256"
|
||||
|
@ -29,7 +29,6 @@ long_desc="
|
|||
currently not visible and even when the whole screen session is detached
|
||||
from the users terminal."
|
||||
|
||||
Add_dependency run ncurses
|
||||
Add_dependency run ncurses-libs
|
||||
Add_dependency run glibc
|
||||
Add_dependency build gettext
|
||||
|
@ -37,13 +36,8 @@ Add_dependency build texinfo
|
|||
Add_dependency build ncurses-devel
|
||||
Add_dependency build glibc-devel
|
||||
|
||||
post_build()
|
||||
post_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/share/info
|
||||
touch -f ${DESTDIR}/usr/share/info/dir
|
||||
vinstall etc/screenrc 0644 usr/share/examples/screen
|
||||
vinstall etc/etcscreenrc 0644 usr/share/examples/screen
|
||||
}
|
||||
|
||||
#post_install()
|
||||
#{
|
||||
# # need to create a default /etc/screenrc and /etc/etcscreenrc here
|
||||
#}
|
||||
|
|
Loading…
Reference in a new issue