pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/unarchiver Import unarchiver-3.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6c949542cee
branches:  trunk
changeset: 770297:f6c949542cee
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Nov 28 20:04:21 2021 +0000

description:
Import unarchiver-3.10

The Unarchiver is an archive unpacker program with support for lots of
archive formats including ZIP, RAR, 7z, tar, gzip, bzip2, LZMA, XZ,
CAB, MSI, NSIS, EXE, ISO, BIN, split file formats, as well as the old
Stuffit, Stuffit X, DiskDouble, Compact Pro, Packit, cpio, compress
(.Z), ARJ, ARC, PAK, ACE, ZOO, LZH, ADF, DMS, LZX, PowerPacker, LBR,
Squeeze, Crunch, and other old/obscure formats.

It can also handle filenames in foreign character sets, created with
non-English versions of some operating systems, and is particularly
useful for processing CJK archives correctly.

This package contains command-line tools for The Unarchiver, namely
lsar and unar.

diffstat:

 archivers/unarchiver/DESCR    |  13 ++++++++++++
 archivers/unarchiver/Makefile |  44 +++++++++++++++++++++++++++++++++++++++++++
 archivers/unarchiver/PLIST    |   7 ++++++
 archivers/unarchiver/distinfo |   5 ++++
 4 files changed, 69 insertions(+), 0 deletions(-)

diffs (85 lines):

diff -r 0f3d165aa1fe -r f6c949542cee archivers/unarchiver/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unarchiver/DESCR        Sun Nov 28 20:04:21 2021 +0000
@@ -0,0 +1,13 @@
+The Unarchiver is an archive unpacker program with support for lots of
+archive formats including ZIP, RAR, 7z, tar, gzip, bzip2, LZMA, XZ,
+CAB, MSI, NSIS, EXE, ISO, BIN, split file formats, as well as the old
+Stuffit, Stuffit X, DiskDouble, Compact Pro, Packit, cpio, compress
+(.Z), ARJ, ARC, PAK, ACE, ZOO, LZH, ADF, DMS, LZX, PowerPacker, LBR,
+Squeeze, Crunch, and other old/obscure formats.
+
+It can also handle filenames in foreign character sets, created with
+non-English versions of some operating systems, and is particularly
+useful for processing CJK archives correctly.
+
+This package contains command-line tools for The Unarchiver, namely
+lsar and unar.
diff -r 0f3d165aa1fe -r f6c949542cee archivers/unarchiver/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unarchiver/Makefile     Sun Nov 28 20:04:21 2021 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2021/11/28 20:04:21 pho Exp $
+
+DISTNAME=      TheUnarchiverSource
+PKGNAME=       unarchiver-3.10 # See ${WRKSRC}/Info.plist
+CATEGORIES=    archivers
+MASTER_SITES=  https://cdn.theunarchiver.com/downloads/
+DIST_SUBDIR=   ${PKGNAME_NOREV}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://theunarchiver.com/command-line
+COMMENT=       Command-line tools for The Unarchiver
+LICENSE=       gnu-lgpl-v2.1
+
+WRKSRC=                ${WRKDIR}/XADMaster
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
+
+NO_CONFIGURE=          yes
+GNUSTEP_MAKEFILE=      Makefile.linux
+MAKE_FLAGS+=           CC=${CC} OBJCC=${OBJC} CXX=${CXX}
+
+# Fix build with clang. See
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230627
+.include "../../devel/gnustep-make/gnustep.mk"
+.if empty(PKG_OPTIONS:Mfragile)
+BUILDLINK_TRANSFORM+=  rm:-DGNU_RUNTIME=1
+BUILDLINK_TRANSFORM+=  rm:-fgnu-runtime
+.endif
+
+# Also remove -isystem /usr/include/GNUstep. Our GNUstep is not there.
+BUILDLINK_TRANSFORM+=  rm:-isystem rm:/usr/include/GNUstep
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/bash-completion/completions
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/lsar ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/unar ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKDIR}/Extra/lsar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA} ${WRKDIR}/Extra/unar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA} ${WRKDIR}/Extra/lsar.bash_completion ${DESTDIR}${PREFIX}/share/bash-completion/completions/lsar
+       ${INSTALL_DATA} ${WRKDIR}/Extra/unar.bash_completion ${DESTDIR}${PREFIX}/share/bash-completion/completions/unar
+
+.include "../../devel/gnustep-base/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0f3d165aa1fe -r f6c949542cee archivers/unarchiver/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unarchiver/PLIST        Sun Nov 28 20:04:21 2021 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/28 20:04:21 pho Exp $
+bin/lsar
+bin/unar
+man/man1/lsar.1
+man/man1/unar.1
+share/bash-completion/completions/lsar
+share/bash-completion/completions/unar
diff -r 0f3d165aa1fe -r f6c949542cee archivers/unarchiver/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unarchiver/distinfo     Sun Nov 28 20:04:21 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/28 20:04:21 pho Exp $
+
+BLAKE2s (unarchiver-3.10/TheUnarchiverSource.zip) = 2d40314838ce264233e2724a19da426e93cecbdc2af148849f29ae6f262450c2
+SHA512 (unarchiver-3.10/TheUnarchiverSource.zip) = b27c941f4ca03c8e9c348343fe43994fec5aa12a21c14ac9c7d53fecff234221fe37311d20f8894bc2d1e48b96df44e7446bcf81848112260d62c46be4a6cb92
+Size (unarchiver-3.10/TheUnarchiverSource.zip) = 2753163 bytes



Home | Main Index | Thread Index | Old Index