mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
system/convmv: Updated for version 2.05, new maintainer.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
81ee0d039a
commit
baecdc09a5
4 changed files with 37 additions and 36 deletions
|
@ -1,5 +1,7 @@
|
|||
convmv (convert filenames to utf8 or any other charset)
|
||||
|
||||
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.
|
||||
whole filesystems to a different encoding. Though it's primarily
|
||||
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.
|
||||
|
|
|
@ -1,27 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for convmv
|
||||
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
|
||||
# Written by Oleg O. Chukaev
|
||||
# Modified and now maintained by B. Watson <urchlay@slackware.uk>
|
||||
|
||||
# Original version of this script had no license. Modified version
|
||||
# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20240904 bkw:
|
||||
# - new maintainer.
|
||||
# - update for v2.05.
|
||||
# - license as WTFPL.
|
||||
# - ARCH=noarch (pure perl).
|
||||
# - get some useless junk out of the doc dir.
|
||||
# - grammar nitpicks in README and slack-desc.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=convmv
|
||||
VERSION=${VERSION:-1.15}
|
||||
VERSION=${VERSION:-2.05}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
ARCH=noarch
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -40,18 +42,15 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
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 {} \;
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -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
|
||||
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKGDOC
|
||||
cp -a CREDITS Changes GPL2 TODO $PKGDOC
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="convmv"
|
||||
VERSION="1.15"
|
||||
VERSION="2.05"
|
||||
HOMEPAGE="https://www.j3e.de/linux/convmv/"
|
||||
DOWNLOAD="https://www.j3e.de/linux/convmv/convmv-1.15.tar.gz"
|
||||
MD5SUM="b1bb703c08c6355868d15890ff193f7d"
|
||||
DOWNLOAD="https://www.j3e.de/linux/convmv/convmv-2.05.tar.gz"
|
||||
MD5SUM="c151ddd68f3060eab6c69b1907eaec7e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Oleg O. Chukaev"
|
||||
EMAIL="oleg.chukaev@mail.ru"
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="urchlay@slackware.uk"
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
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: whole filesystems to a different encoding. Though it's primarily
|
||||
convmv: written to convert from/to UTF-8, it can also be used with almost any
|
||||
convmv: other charset encoding. Convmv can also be used for case conversion
|
||||
convmv: from upper to lower case and vice versa with virtually any charset.
|
||||
convmv:
|
||||
convmv: Homepage: http://www.j3e.de/linux/convmv/
|
||||
convmv: Homepage: https://www.j3e.de/linux/convmv/
|
||||
convmv:
|
||||
convmv:
|
||||
|
|
Loading…
Reference in a new issue