|
|
|
@ -2,7 +2,7 @@ |
|
|
|
# |
|
|
|
# Slackware build script for grc. |
|
|
|
# |
|
|
|
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. |
|
|
|
# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
|
@ -23,8 +23,8 @@ |
|
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
|
|
|
|
PRGNAM="grc" |
|
|
|
VERSION=${VERSION:-1.11.1} |
|
|
|
BUILD=${BUILD:-2} |
|
|
|
VERSION=${VERSION:-1.11.3} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
|
|
|
|
if [ -z "$ARCH" ]; then |
|
|
|
@ -78,6 +78,8 @@ mv $PKG/etc/profile.d/grc.bashrc $PKG/etc/profile.d/grc.bashrc.new |
|
|
|
install -m644 grc.zsh $PKG/etc/profile.d/grc.zsh.new |
|
|
|
install -m644 grc.fish $PKG/etc/profile.d/grc.fish.new |
|
|
|
|
|
|
|
install -Dm644 _grc $PKG/usr/share/zsh/site-functions/_grc |
|
|
|
|
|
|
|
mv $PKG/usr/share/man $PKG/usr/man |
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \; |
|
|
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |
|
|
|
|