[arch-commits] Commit in unarj/trunk (LICENSE PKGBUILD)

Eric Bélanger eric at archlinux.org
Sat Apr 18 21:26:23 EDT 2009


    Date: Saturday, April 18, 2009 @ 21:26:23
  Author: eric
Revision: 35962

upgpkg: unarj 2.63a-2
    Added license, Added glibc depends

Added:
  unarj/trunk/LICENSE
Modified:
  unarj/trunk/PKGBUILD

----------+
 LICENSE  |   86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD |   17 ++++++------
 2 files changed, 95 insertions(+), 8 deletions(-)

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2009-04-19 01:26:23 UTC (rev 35962)
@@ -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.
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-18 21:29:12 UTC (rev 35961)
+++ PKGBUILD	2009-04-19 01:26:23 UTC (rev 35962)
@@ -4,17 +4,18 @@
 
 pkgname=unarj
 pkgver=2.63a
-pkgrel=1
+pkgrel=2
 pkgdesc="The UNARJ utility is developed for extracting, testing and  viewing the contents of archives created with the ARJ archiver"
 arch=(i686 x86_64)
 url="http://www.ibiblio.org/pub/Linux/utils/compress/"
-source=(http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz)
-md5sums=('a83d139c245f911f22cb1b611ec9768f')
+license=('custom')
+depends=('glibc')
+source=(http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz LICENSE)
+md5sums=('a83d139c245f911f22cb1b611ec9768f' 'c2467ee8c1cb61d843bc2c16cc5e2a2d')
 
 build() {
-cd $startdir/src/$pkgname-$pkgver
-./configure --prefix=/usr
-mkdir -p $startdir/pkg/usr/bin
-make || return 1
-make INSTALLDIR=$startdir/pkg/usr/bin install
+  cd $srcdir/$pkgname-$pkgver
+  make || return 1
+  install -D -m755 unarj $pkgdir/usr/bin/unarj || return 1
+  install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list