mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/convmv: Added to 12.2 repository
This commit is contained in:
parent
d0417c3738
commit
0961fcf160
4 changed files with 78 additions and 0 deletions
8
system/convmv/README
Normal file
8
system/convmv/README
Normal file
|
@ -0,0 +1,8 @@
|
|||
convmv converts filenames (not file content), directories, and even
|
||||
whole filesystems to a different encoding. Though it's primary written
|
||||
to convert from/to UTF-8 it can also be used with almost any other
|
||||
charset encoding. Convmv can also be used for case conversion from
|
||||
upper to lower case and vice versa with virtually any charset.
|
||||
|
||||
ATTENTION: Perl 5.10 seems to have a broken from_to() function so that
|
||||
convmv can not convert files to UTF-8 without using the --nosmart switch!
|
43
system/convmv/convmv.SlackBuild
Normal file
43
system/convmv/convmv.SlackBuild
Normal file
|
@ -0,0 +1,43 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for convmv
|
||||
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
|
||||
|
||||
PRGNAM=convmv
|
||||
VERSION=1.14
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -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 {} \;
|
||||
|
||||
make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CREDITS Changes GPL2 SHA256sums TODO VERSION testsuite.tar \
|
||||
$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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
system/convmv/convmv.info
Normal file
8
system/convmv/convmv.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="convmv"
|
||||
VERSION="1.14"
|
||||
HOMEPAGE="http://www.j3e.de/linux/convmv/"
|
||||
DOWNLOAD="http://www.j3e.de/linux/convmv/convmv-1.14.tar.gz"
|
||||
MD5SUM="d41238051c13b2e6c0cc2310a8f69d68"
|
||||
MAINTAINER="Oleg O. Chukaev"
|
||||
EMAIL="oleg.chukaev@mail.ru"
|
||||
APPROVED="dsomero"
|
19
system/convmv/slack-desc
Normal file
19
system/convmv/slack-desc
Normal file
|
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
convmv: convmv (convert filenames to utf8 or any other charset)
|
||||
convmv:
|
||||
convmv: convmv converts filenames (not file content), directories, and even
|
||||
convmv: whole filesystems to a different encoding. Though it's primary written
|
||||
convmv: to convert from/to UTF-8 it can also be used with almost any other
|
||||
convmv: charset encoding. Convmv can also be used for case conversion from
|
||||
convmv: upper to lower case and vice versa with virtually any charset.
|
||||
convmv:
|
||||
convmv: Homepage: http://www.j3e.de/linux/convmv/
|
||||
convmv:
|
||||
convmv:
|
Loading…
Reference in a new issue