aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-06-19 21:49:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-19 21:49:45 +0700
commit8c2db2dd95c60c61337dcaa2f0b40ed4479598e3 (patch)
tree334e83c8eea5f9fe1ce8c5224db920792526785c
parent55de2ed915873d5299a8851a9777969287e3f361 (diff)
system/man-pages-es: Added (Spanish man-pages).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/man-pages-es/README9
-rw-r--r--system/man-pages-es/man-pages-es.SlackBuild79
-rw-r--r--system/man-pages-es/man-pages-es.info12
-rw-r--r--system/man-pages-es/slack-desc19
4 files changed, 119 insertions, 0 deletions
diff --git a/system/man-pages-es/README b/system/man-pages-es/README
new file mode 100644
index 0000000000000..ea107b3e4a297
--- /dev/null
+++ b/system/man-pages-es/README
@@ -0,0 +1,9 @@
+man-pages-es (páginas de manual en Español)
+
+Spanish translation of man-pages and man-pages-extra.
+
+LANG should be set to something like es_ES, to see Spanish man pages. UTF-8
+doesn't work without editing /usr/lib(64)?/man.conf.
+
+Note that the package maintainer doesn't read Spanish well, so please,
+use English if you're sending an email.
diff --git a/system/man-pages-es/man-pages-es.SlackBuild b/system/man-pages-es/man-pages-es.SlackBuild
new file mode 100644
index 0000000000000..fcfed4f99e3c6
--- /dev/null
+++ b/system/man-pages-es/man-pages-es.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for man-pages-es
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=man-pages-es
+VERSION=${VERSION:-1.55}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+EXTRAVER=${EXTRAVER:-0.8a}
+EXTRAPRG=$PRGNAM-extra
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+mkdir -p $PRGNAM
+cd $PRGNAM
+rm -rf $PRGNAM-$VERSION $EXTRAPRG-$EXTRAVER
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$EXTRAPRG-$EXTRAVER.tar.gz
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# in case of dupes between man-pages-es main package and -extra, we use the
+# one from -extra.
+mkdir -p $PKG/usr/man/es
+for i in $PRGNAM-$VERSION/man? $EXTRAPRG-$EXTRAVER/man?; do
+ dir=$PKG/usr/man/es/$( basename $i )
+ mkdir -p $dir
+ cp $i/* $dir
+done
+
+find $PKG/usr/man -type f -print0 | xargs -0 gzip -9
+
+mv $EXTRAPRG-$EXTRAVER/README $EXTRAPRG-$EXTRAVER/README.extra
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a */LEEME* */README* */CHANGES* */CAMBIOS* */P* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+#cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/man-pages-es/man-pages-es.info b/system/man-pages-es/man-pages-es.info
new file mode 100644
index 0000000000000..a8d2bcd33075f
--- /dev/null
+++ b/system/man-pages-es/man-pages-es.info
@@ -0,0 +1,12 @@
+PRGNAM="man-pages-es"
+VERSION="1.55"
+HOMEPAGE="http://ditec.um.es/~piernas/manpages-es/"
+DOWNLOAD="http://ditec.um.es/~piernas/manpages-es/man-pages-es-1.55.tar.bz2 \
+ http://ditec.um.es/~piernas/manpages-es/man-pages-es-extra-0.8a.tar.gz"
+MD5SUM="b71f701dcae827f2f5e4e848c66321fc \
+ 5827f41f77658df17f550b7f8e831432"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/system/man-pages-es/slack-desc b/system/man-pages-es/slack-desc
new file mode 100644
index 0000000000000..631a9a0ccf4ba
--- /dev/null
+++ b/system/man-pages-es/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+man-pages-es: man-pages-es (páginas de manual en Español)
+man-pages-es:
+man-pages-es: Spanish translation of man-pages and man-pages-extra.
+man-pages-es:
+man-pages-es:
+man-pages-es:
+man-pages-es:
+man-pages-es:
+man-pages-es:
+man-pages-es:
+man-pages-es: