From: Oliver Schmidhauser Date: Sat, 15 Oct 2016 22:08:07 +0000 (+0200) Subject: Add par2 package (#501) X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/e45f625ef00bea122fd724cda2e25b35caccd837 Add par2 package (#501) Parity Archives are very usefull for working with long term storage, which may have degraded over time. It allows to restore the files, even if chunks of it are corrupted. https://en.wikipedia.org/wiki/Parchive I tested it by creating a par2 archive, corrupting the original data and restoring it. This program is named par2cmdline, but I named the package par2 because that's what it is called in the Ubuntu Repo, Date: Wed Oct 12 12:19:39 2016 +0200 --- diff --git a/packages/par2/build.sh b/packages/par2/build.sh new file mode 100644 index 00000000..05f7b537 --- /dev/null +++ b/packages/par2/build.sh @@ -0,0 +1,13 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/Parchive/par2cmdline +TERMUX_PKG_DESCRIPTION="par2cmdline is a PAR 2.0 compatible file verification and repair tool." +TERMUX_PKG_VERSION=0.6.13 +TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli" +TERMUX_PKG_SRCURL=https://github.com/Parchive/par2cmdline/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_FOLDERNAME=par2cmdline-$TERMUX_PKG_VERSION +TERMUX_PKG_BUILD_IN_SRC=yes + +termux_step_pre_configure() { + aclocal + automake --add-missing + autoconf +}