From dd412620340ef117447138e67b3a17f2137ecb6a Mon Sep 17 00:00:00 2001 From: gnastyle Date: Wed, 24 Feb 2016 15:57:49 +0100 Subject: [PATCH] unarj: move to desktop --- unarj/LICENSE | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++ unarj/PKGBUILD | 23 ++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 unarj/LICENSE create mode 100644 unarj/PKGBUILD diff --git a/unarj/LICENSE b/unarj/LICENSE new file mode 100644 index 000000000..944334a7a --- /dev/null +++ b/unarj/LICENSE @@ -0,0 +1,86 @@ + * Copyright (c) 1991-2000 by ARJ Software, Inc. All rights reserved. + * + * This code may be freely used in programs that are NOT ARJ archivers + * (both compress and extract ARJ archives). + * + * If you wish to distribute a modified version of this program, you + * MUST indicate that it is a modified version both in the program and + * source code. + * + * We are holding the copyright on the source code, so please do not + * delete our name from the program files or from the documentation. + * + * We wish to give credit to Haruhiko Okumura for providing the + * basic ideas for ARJ and UNARJ in his program AR. Please note + * that UNARJ is significantly different from AR from an archive + * structural point of view. + * + + + + UNARJ LICENSE POLICY FOR ALL USERS: + + The UNARJ program, source code, and the associated documentation + are copyright (c) 1990-2000 ARJ Software, Inc. all rights reserved. + + If you distribute this software to others, you are required to + distribute the ENTIRE package consisting of the following files: + + README.DOC + UNARJ.EXE + UNARJ.DOC + UNARJ.C + DECODE.C + ENVIRON.C + UNARJ.H + UNARJ.DEF + TCCUNARJ.MAK + BCCUNARJ.MAK + BCC32.MAK + QCLUNARJ.MAK + OS2UNARJ.MAK + TECHNOTE.DOC + + We strongly prefer that the files be distributed in the format + originally released: UNARJ243.EXE with the ARJ-SECURITY envelope as + created by the author. If you must distribute the UNARJ archive in + another archive format, please archive the UNARJ243.EXE as one file + inside the other archive. Re-archival of the software as separate + files means losing the ARJ security envelope. + + You may freely use the UNARJ C source code. If you wish to + distribute a modified version of UNARJ.EXE, you MUST indicate that it + is a modified version both in the program and source code. + + We are holding the copyright on the source code, so please do not + delete our name from the program files or the documentation. + + The UNARJ.EXE program is built from this source using Borland C++ 3.1. + + You may freely use, copy, and distribute UNARJ.EXE, provided that no + fee is charged for such use, copying or distribution. + + You may use UNARJ.EXE in a commercial software package provided that + no additional fee is charged for using UNARJ.EXE and provided that + the user fully understands that NO warranty or support is provided + for UNARJ.EXE by ARJ Software. Moreover, the user must fully + understand that UNARJ does not have the long usage history that ARJ + does. + + This source code is intended to promote the building of utilities to + support the use of ARJ and ARJ archives. + + DISCLAIMER: + + This software UNARJ is provided on an "as is" basis without warranty + of any kind, expressed or implied, including but not limited to the + implied warranties of merchantability and fitness for a particular + purpose. The person using the software bears all risk as to the + quality and performance of the software. Should the software prove + defective, the user assumes the entire cost of all necessary repair, + servicing, or correction. ARJ Software, Inc. will not be liable + for any special, incidental, consequential, indirect or similar + damages due to loss of data or any other reason, even if ARJ + Software, Inc. or its agents have been advised of the possibility + of such damages. + diff --git a/unarj/PKGBUILD b/unarj/PKGBUILD new file mode 100644 index 000000000..167ee699a --- /dev/null +++ b/unarj/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=unarj +pkgver=2.63a +pkgrel=4 +pkgdesc="The UNARJ utility is developed for extracting, testing and viewing the contents of archives created with the ARJ archiver" +arch=('x86_64') +url="http://www.ibiblio.org/pub/Linux/utils/compress/" +license=('custom') +depends=('glibc') +source=(http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz LICENSE) +sha1sums=('abd35d894444fea1a0bdc7472ed2346f0f8c6ba4' + 'cdc1382fc5ad6263647b1526fb9f299a88f055e2') + +build() { + cd $srcdir/$pkgname-$pkgver + make || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + + install -D -m755 unarj $pkgdir/usr/bin/unarj || return 1 + install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +}