system/man-pages-ru: Updated for version 5.03_20191017, new maint.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-11-05 04:48:23 -05:00 committed by Willy Sudiarto Raharjo
parent 38862490a5
commit 02b77db9cf
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 39 additions and 31 deletions

View file

@ -1 +1,10 @@
Russian translation for system man pages version 3.41
man-pages-ru (Russian system documentation)
Russian translation for system man pages. This requires a terminal
that can handle UTF-8 (such as konsole, xfce4-terminal, or
rxvt-unicode), and a UTF-8 locale such as LANG=ru_RU.UTF-8. You'll
also need a font that displays Cyrillic glyphs (should be included
with Slackware already).
Sadly, this isn't a complete set of man pages. For instance, there are
no man pages included for coreutils.

View file

@ -22,12 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20201105 bkw: This hasn't been updated in 7+ years, and I'm not sure
# it ever worked properly with 14.2's man command. Update to latest
# version and document how to get this stuff to work with man-db and a
# utf-8 capable terminal.
PRGNAM=man-pages-ru
VERSION=${VERSION:-3.41_20130102} # Set the version to something sane.
VERSION=${VERSION:-5.03_20191017} # Set the version to something sane.
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCVERSION=${SRCVERSION:-$(echo $PRGNAM_*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)}
SRCVERSION="$(echo $PRGNAM_*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)"
ARCH=noarch
@ -45,27 +50,21 @@ rm -rf $PRGNAM\_$SRCVERSION
tar xvf $CWD/$PRGNAM\_$SRCVERSION.tar.bz2
cd $PRGNAM\_$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
mkdir -p $PKG/usr/man/ru
for section in 1 2 3 4 5 6 7 8 ; do
mv man$section $PKG/usr/man/ru
done
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
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# This one is included in Slackware.
rm $PKG/usr/man/ru/man5/passwd.5.gz
rm man5/passwd.5
mkdir -p $PKG/usr/man/ru.UTF-8
for section in 1 2 3 4 5 6 7 8 ; do
mv man$section $PKG/usr/man/ru.UTF-8
done
find $PKG/usr/man -type f -exec gzip -9 {} \+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
README License \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a README License $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="man-pages-ru"
VERSION="3.41_20130102"
VERSION="5.03_20191017"
HOMEPAGE="http://man-pages-ru.sourceforge.net/"
DOWNLOAD="http://sourceforge.net/projects/man-pages-ru/files/man-pages-ru_3.41-2145-1724-20130102.tar.bz2"
MD5SUM="2fc85340225409fe8d5dfbf90b2a0575"
DOWNLOAD="http://sourceforge.net/projects/man-pages-ru/files/man-pages-ru_5.03-2390-2390-20191017.tar.bz2"
MD5SUM="0b4bc884e9f94ca107de6a8eaa60f03e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Anton Sil'uev"
EMAIL="burning2007@ya.ru"
REQUIRES="man-db"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"

View file

@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
man-pages-ru: man-pages-ru (Russian system documentation)
man-pages-ru:
man-pages-ru: Russian translation files for man pages
man-pages-ru:
man-pages-ru: Visit http://man-pages-ru.sourceforge.net/ for details.
man-pages-ru:
man-pages-ru:
man-pages-ru: Russian translation for system man pages. This requires a terminal
man-pages-ru: that can handle UTF-8 (such as konsole, xfce4-terminal, or
man-pages-ru: rxvt-unicode), and a UTF-8 locale such as LANG=ru_RU.UTF-8. You'll
man-pages-ru: also need a font that displays Cyrillic glyphs (should be included
man-pages-ru: with Slackware already).
man-pages-ru:
man-pages-ru:
man-pages-ru: