diff options
Diffstat (limited to 'source/a/pkgtools/pkgtools.SlackBuild')
-rwxr-xr-x | source/a/pkgtools/pkgtools.SlackBuild | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/source/a/pkgtools/pkgtools.SlackBuild b/source/a/pkgtools/pkgtools.SlackBuild index d2930638..c33fb062 100755 --- a/source/a/pkgtools/pkgtools.SlackBuild +++ b/source/a/pkgtools/pkgtools.SlackBuild @@ -27,9 +27,9 @@ fi PKG=$TMP/package-pkgtools # *** UPDATE THESE WITH EACH BUILD: -VERSION=14.1 +VERSION=14.2 ARCH=${ARCH:-noarch} -BUILD=2 +BUILD=10 if [ ! -d $TMP ]; then mkdir -p $TMP # location to build the source @@ -46,6 +46,19 @@ mkdir -p $PKG done ) +# Install internationalized manpages from +# http://slint.fr/forSlackware/man_l10n/pkgtools/ +( cd $PKG/usr/man + tar xf $CWD/manpages-l10n.tar.xz + for page in manpages-l10n/* ; do + manpage=$(basename $page) + mkdir -p ${manpage%%.*}/man8 + mv $page ${manpage%%.*}/man8/${page#*.}.8 + done + gzip -9 */man8/*.8 + rmdir manpages-l10n +) + # Install Slackware scripts: ( cd $CWD/scripts # Install the core Slackware package tools: @@ -74,7 +87,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc # Build the package: cd $PKG -makepkg -l y -c n $TMP/pkgtools-$VERSION-$ARCH-$BUILD.tgz +makepkg -l y -c n $TMP/pkgtools-$VERSION-$ARCH-$BUILD.txz echo echo "HEY -- did you remember to update the version numbers in the setup scripts?" |