From d11e66e2d6f7918a70af57d90bbae3296042425c Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Thu, 18 Apr 2019 15:52:49 +0700 Subject: system/unar: Updated for version 1.10.5. Signed-off-by: Willy Sudiarto Raharjo --- system/unar/Extra/lsar.1 | 59 -------------------------- system/unar/Extra/lsar.bash_completion | 16 ------- system/unar/Extra/unar.1 | 77 ---------------------------------- system/unar/Extra/unar.bash_completion | 23 ---------- system/unar/unar.SlackBuild | 18 ++++---- system/unar/unar.info | 8 ++-- 6 files changed, 15 insertions(+), 186 deletions(-) delete mode 100644 system/unar/Extra/lsar.1 delete mode 100644 system/unar/Extra/lsar.bash_completion delete mode 100644 system/unar/Extra/unar.1 delete mode 100644 system/unar/Extra/unar.bash_completion diff --git a/system/unar/Extra/lsar.1 b/system/unar/Extra/lsar.1 deleted file mode 100644 index 73ac7afa24..0000000000 --- a/system/unar/Extra/lsar.1 +++ /dev/null @@ -1,59 +0,0 @@ -.TH LSAR 1 2011-09-26 "The Unarchiver" "User Commands" -.SH NAME -lsar \- list archive file contents -.SH SYNOPSIS -.B lsar -[\fIOPTION\fR]... \fIARCHIVE\fR... -.SH DESCRIPTION -List the contents of \fIARCHIVE\fRs. -.SH OPTIONS -.TP -.BR \-l ", " \-long -Print more information about each file in the archive. -.TP -.BR \-L ", " \-verylong -Print all available information about each file in the archive. -.TP -.BR \-t ", " \-test -Test the integrity of the files in the archive, if possible. -.TP -.BR \-p ", " \-password " \fIPASSWORD" -The password to use for decrypting protected archives. -.TP -.BR \-e ", " \-encoding " \fIENCODING" -The encoding to use for filenames in the archive, when it is not -known. If not specified, the program attempts to auto-detect the -encoding used. Use "help" or "list" as the argument to give a listing -of all supported encodings. -.TP -.BR \-E ", " \-password\-encoding " \fIENCODING" -The encoding to use for the password for the archive, when it is not -known. If not specified, then either the encoding given by the -\-encoding option or the auto-detected encoding is used. -.TP -.BR \-pe ", " \-print\-encoding -Print the auto-detected encoding and the confidence factor after the -file list. -.TP -.BR \-i ", " \-indexes -Instead of specifying the files to list as filenames or wildcard -patterns, specify them as indexes. -.TP -.BR \-j ", " \-json -Print the listing in JSON format. -.TP -.BR \-ja ", " \-json\-ascii -Print the listing in JSON format, encoded as pure ASCII text. -.TP -.BR \-nr ", " \-no\-recursion -Do not attempt to list the contents of archives contained in other -archives. For instance, when listing a .tar.gz file, only list -the .tar file and not its contents. -.TP -.BR \-h ", " \-help -Display help information. -.TP -.BR \-v ", " \-version -Print version and exit. -.SH SEE ALSO -.BR unar (1) diff --git a/system/unar/Extra/lsar.bash_completion b/system/unar/Extra/lsar.bash_completion deleted file mode 100644 index 14b5dee6d3..0000000000 --- a/system/unar/Extra/lsar.bash_completion +++ /dev/null @@ -1,16 +0,0 @@ -__lsar() -{ - local cur prev opts - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - opts="--long --verylong --test --password ---encoding --password-encoding \ - --print-encoding --indexes --json --json-ascii --no-recursion --help \ - --version" - if [[ ${cur} == -* ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi -} - -complete -o bashdefault -A file -F __lsar lsar - diff --git a/system/unar/Extra/unar.1 b/system/unar/Extra/unar.1 deleted file mode 100644 index 3b3758f37b..0000000000 --- a/system/unar/Extra/unar.1 +++ /dev/null @@ -1,77 +0,0 @@ -.TH unar 1 2011-09-26 "The Unarchiver" "User Commands" -.SH NAME -unar \- extract archive file contents -.SH SYNOPSIS -.B unar -[\fIOPTION\fR]... \fIARCHIVE\fR [\fIFILE\fR]... -.SH DESCRIPTION -Extract \fIFILE\fRs or the contents of \fIARCHIVE\fR. -.SH OPTIONS -.TP -.BR \-o ", " \-output\-directory " \fIDIRECTORY" -The directory to write the contents of the archive to. Defaults to -the current directory. -.TP -.BR \-f ", " \-force\-overwrite -Always overwrite files when a file to be unpacked already exists on -disk. By default, the program asks the user if possible, otherwise -skips the file. -.TP -.BR \-r ", " \-force\-rename -Always rename files when a file to be unpacked already exists on disk. -.TP -.BR \-s ", " \-force\-skip -Always skip files when a file to be unpacked already exists on disk. -.TP -.BR \-d ", " \-force\-directory -Always create a containing directory for the contents of the unpacked -archive. By default, a directory is created if there is more than one -top-level file or folder. -.TP -.BR \-D ", " \-no\-directory -Never create a containing directory for the contents of the unpacked -archive. -.TP -.BR \-p ", " \-password " \fIPASSWORD" -The password to use for decrypting protected archives. -.TP -.BR \-e ", " \-encoding " \fIENCODING" -The encoding to use for filenames in the archive, when it is not -known. If not specified, the program attempts to auto-detect the -encoding used. Use "help" or "list" as the argument to give a listing -of all supported encodings. -.TP -.BR \-E ", " \-password\-encoding " \fIENCODING" -The encoding to use for the password for the archive, when it is not -known. If not specified, then either the encoding given by the -\-encoding option or the auto-detected encoding is used. -.TP -.BR \-i ", " \-indexes -Instead of specifying the files to list as filenames or wildcard -patterns, specify them as indexes, as output by lsar. -.TP -.BR \-nr ", " \-no\-recursion -Do not attempt to extract archives contained in other archives. For -instance, when unpacking a .tar.gz file, only unpack the .tar file and -not its contents. -.TP -.BR \-t ", " \-copy\-time -Copy the file modification time from the archive file to the -containing directory, if one is created. -.TP -.BR \-k ", " "\-forks visible" | hidden | skip -How to handle Mac OS resource forks. \fBvisible\fR creates -AppleDouble files with the extension ".rsrc", \fBhidden\fR creates -AppleDouble files with the prefix "._", and \fBskip\fR discards all -resource forks. Defaults to \fBvisible\fR. -.TP -.BR \-q ", " \-quiet -Run in quiet mode. -.TP -.BR \-v ", " \-version -Print version and exit. -.TP -.BR \-h ", " \-help -Display help information. -.SH SEE ALSO -.BR lsar (1) diff --git a/system/unar/Extra/unar.bash_completion b/system/unar/Extra/unar.bash_completion deleted file mode 100644 index 06fe66f567..0000000000 --- a/system/unar/Extra/unar.bash_completion +++ /dev/null @@ -1,23 +0,0 @@ -__unar() -{ - local cur prev opts - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="--output-directory --force-overwrite --force-rename --force-skip \ - --force-directory --no-directory --password --encoding \ - --password-encoding --indexes --no-recursion --copy-time \ - --no-quarantine --forks --quiet --help --version" - if [[ ${prev} == "--forks" ]] ; then - local forksopts - forksopts="fork visible hidden skip" - COMPREPLY=( $(compgen -W "${forksopts}" -- ${cur}) ) - return 0 - elif [[ ${cur} == -* ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi -} - -complete -o bashdefault -A file -F __unar unar - diff --git a/system/unar/unar.SlackBuild b/system/unar/unar.SlackBuild index a2c7d2dfcc..961071e6a3 100644 --- a/system/unar/unar.SlackBuild +++ b/system/unar/unar.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=unar -VERSION=${VERSION:-1.10.3} -SVERSION=${SVERSION:-1.10.4} +VERSION=${VERSION:-1.10.5} +UDVERSION=${UDVERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,9 +56,11 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf XADMaster UniversalDetector -unzip $CWD/unar-sources-$SVERSION.zip -cd XADMaster +rm -rf XADMaster-$VERSION UniversalDetector +tar xvf $CWD/XADMaster-$VERSION.tar.gz +tar xvf $CWD/universal-detector-$UDVERSION.tar.gz +mv universal-detector-$UDVERSION UniversalDetector +cd XADMaster-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -76,13 +78,13 @@ mkdir -p $PKG/usr/bin install -m 0755 -o root -g root lsar unar $PKG/usr/bin/ mkdir -p $PKG/usr/man/man1 -install -m 0644 -o root -g root $CWD/Extra/lsar.1 $CWD/Extra/unar.1 \ +install -m 0644 -o root -g root Extra/lsar.1 Extra/unar.1 \ $PKG/usr/man/man1 mkdir -p $PKG/usr/share/bash-completion/completions -install -m 0644 -o root -g root $CWD/Extra/unar.bash_completion \ +install -m 0644 -o root -g root Extra/unar.bash_completion \ $PKG/usr/share/bash-completion/completions/unar -install -m 0644 -o root -g root $CWD/Extra/lsar.bash_completion \ +install -m 0644 -o root -g root Extra/lsar.bash_completion \ $PKG/usr/share/bash-completion/completions/lsar find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/system/unar/unar.info b/system/unar/unar.info index 4f25f6e538..905e90573d 100644 --- a/system/unar/unar.info +++ b/system/unar/unar.info @@ -1,8 +1,10 @@ PRGNAM="unar" -VERSION="1.10.3" +VERSION="1.10.5" HOMEPAGE="https://theunarchiver.com/command-line" -DOWNLOAD="https://github.com/MacPaw/XADMaster/releases/download/v1.10.4/unar-sources-1.10.4.zip" -MD5SUM="d3a3733239ebeff7d249d4ad5efd1e84" +DOWNLOAD="https://github.com/MacPaw/XADMaster/archive/v1.10.5/XADMaster-1.10.5.tar.gz \ + https://github.com/MacPaw/universal-detector/archive/1.1/universal-detector-1.1.tar.gz" +MD5SUM="d73a9e29fb74dd8b4f49e40680e79c19 \ + 5c87b87c72609b23110236c6d7aac8e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gnustep-base" -- cgit v1.2.3