pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/unarchiver



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun Nov 28 20:04:21 UTC 2021

Added Files:
        pkgsrc/archivers/unarchiver: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/unarchiver/DESCR \
    pkgsrc/archivers/unarchiver/Makefile pkgsrc/archivers/unarchiver/PLIST \
    pkgsrc/archivers/unarchiver/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/archivers/unarchiver/DESCR
diff -u /dev/null pkgsrc/archivers/unarchiver/DESCR:1.1
--- /dev/null   Sun Nov 28 20:04:21 2021
+++ pkgsrc/archivers/unarchiver/DESCR   Sun Nov 28 20:04:21 2021
@@ -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.
Index: pkgsrc/archivers/unarchiver/Makefile
diff -u /dev/null pkgsrc/archivers/unarchiver/Makefile:1.1
--- /dev/null   Sun Nov 28 20:04:21 2021
+++ pkgsrc/archivers/unarchiver/Makefile        Sun Nov 28 20:04:21 2021
@@ -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"
Index: pkgsrc/archivers/unarchiver/PLIST
diff -u /dev/null pkgsrc/archivers/unarchiver/PLIST:1.1
--- /dev/null   Sun Nov 28 20:04:21 2021
+++ pkgsrc/archivers/unarchiver/PLIST   Sun Nov 28 20:04:21 2021
@@ -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
Index: pkgsrc/archivers/unarchiver/distinfo
diff -u /dev/null pkgsrc/archivers/unarchiver/distinfo:1.1
--- /dev/null   Sun Nov 28 20:04:21 2021
+++ pkgsrc/archivers/unarchiver/distinfo        Sun Nov 28 20:04:21 2021
@@ -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