summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072020-04-04 23:10:59 +0200
committersL1pKn072020-04-04 23:10:59 +0200
commit6d037e62ba2d59ada9736aa7d7e4a477ec1e14e0 (patch)
tree3dd2bd1278818e8b55ca04410d4073ad9c25382d
parent12d079f07aedbb1b6a2fb357eb79a022976e1406 (diff)
downloadaur-6d037e62ba2d59ada9736aa7d7e4a477ec1e14e0.tar.gz
switch sources (more actualized)
-rw-r--r--.SRCINFO21
-rw-r--r--LICENSE193
-rw-r--r--PKGBUILD49
3 files changed, 64 insertions, 199 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ea185cd2420..70646d878d02 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,16 @@
pkgbase = lha
pkgdesc = A compression and archive utility for LH-7 format archives
- pkgver = 1.17
- pkgrel = 6
- url = http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/
- arch = i686
+ pkgver = 1.14i
+ pkgrel = 1
+ epoch = 1
+ url = http://lha.osdn.jp
arch = x86_64
- license = custom
- source = ftp://ftp.uhulinux.hu/mirror/http%3A/www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/linux/lha117.tar.gz
+ license = custom:lha
+ depends = glibc
+ source = git+https://github.com/jca02266/lha.git#commit=7c3cd95fdf0d2f9198bb779561724cd314bc39a6
source = LICENSE
- source = lha.man.en
- sha1sums = da97195db297d2d1f8f288b1b99eea426edb8170
- sha1sums = e62662e4b8ab2b11bf60d9803312f9743ad731e2
- sha1sums = 1c100e5178d324103fb6382edd3e96789a86a86a
- depends_i686 = glibc
- depends_x86_64 = lib32-glibc
+ sha256sums = SKIP
+ sha256sums = c88f52b7b6b223d1347c6721c24b63ba947baa1756e3713e1fff220e974b9120
pkgname = lha
diff --git a/LICENSE b/LICENSE
index 1f8218aa444a..c94af0379e7f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,172 +1,21 @@
-LICENSE taken from Debian package.
-
-Upstream Authors:
-
- LHarc 0.01-1.00: Yooichi Tagawa (LHa code taken from here, 1988-1989)
- Nikkei-mix ID: y.tagawa (Now this is defunct BBS, Licensing term
- in manual page come from his licence for lharc)
- His new web page seems to be www2s.biglibe.ne.jp/~yex/
- yooedit2001@yahoo.co.jp is the contact e-mail address for another
- software. Page updated at least July/2001
-
- LHa 0.01-1.00: Masaru Oki (LHa original author, 1991-1992)
- E-Mail address: oki@netbsd.org
-
- LHa 1.10-1.14: Nobutaka Watazaki (Last official release? 1993-1995)
- ALICE-NET ALS00595 Nasty
- E-Mail JBD02514@niftyserve.or.jp
- E-Mail femcs@mbox.kyoto-inet.or.jp
- NIFTY-Serve JBD02514
- E-Mail address: watazaki@shimadzu.co.jp
- E-Mail address: watazaki@shimadzusd.co.jp
-
- Lha 1.14a-1.14e: Tsugio Okamoto <tsugio@muc.biglobe.ne.jp> (1996-2000)
- LHa for UNIX V 1.15 Modified 2000 S. K.
- LHA for UNIX V 1.16 Modified 2001 M. Ishii
- LHA for UNIX V 1.17 Modified 2002 M. Ishii
-
-
-Copyright:
-
-Original Source Code License Statement:
-
- /* Copyright (C) MCMLXXXIX Yooichi.Tagawa */
- /* Modified Nobutaka Watazaki */
- /* Thanks to H.Yoshizaki. (MS-DOS LHarc) */
-
-
-Original Authors License Statement (from man/lha.man, in Japanese
-EUC-JP):
-
- 再配布について
- 以下の条件で、再配布、転載、改変を許可します。
-
- 1. 著作権表示を削除しないこと。
-
- 2. 配布内容については、
-
- a. 配布の際に存在する内容(すなわち ソー ス コー
- ド、 ド キュメント、プログラマーへの手引きな
- ど)が再配布されたものの中に必ず存在 す る こ
- と。 改 変されているならば、それを明示したド
- キュメントを用意すること。
-
- b. LHa に対する付加価値が付けられて再配布される
- 場合にはそれらもできるだけ含めるよう努力する
- こと。また、その際には付加価値が付けられてい
- ることを明示したドキュメントを用意すること。
-
- c. バイナリのみの配布は許されない。(付加価値 の
- ものも含む)
-
- 3. 最新版の配布に務めること。(義務はない)
-
- 注. なお、ネットでの配付は自由であるが、ネットに
- アクセスできない方(雑誌および、 CDROM な ど
- に よる)配付は、配付前にこちらに EMail をお
- 願いします。配付前に出来ない際には、後日必ず
- EMail をお願いします。
-
- 4. このプログラムの存在や使用したことによって生じた損
- 害は全く保証しない。
-
- 5. 作者は、このプログラムに不備があっても、それを訂 正
- する義務を負わない。
-
- 6. このプログラムの一部、または全部を他のプログラムに
- 組み込んで利用してもかまわない。この場合、そのプ ロ
- グラムは LHa ではなく、 LHa と名乗ってはいけない。
-
- 7. 商利用に関しては、上記の条件に加え、下記の条件のも
- とにこれを認める。
-
- a. このプログラムをメインとする商利用は禁 止 す
- る。
-
- b. 商利用の相手がこのプログラムの使用者として不
- 適切と判断した場合には配布しない。
-
- c. インストールの手段として使用する場合、このプ
- ログラムを使うことを相手に強制しない。この場
- 合、商利用者が作業を行う。また、そのときの損
- 害は、商利用者が全責任を負う。
-
- d. 商利用を付加価値として行いこのプログラムを使
- 用する場合、商利用者は、そのサポートを行う。
-
-
-Original Authors License Statement (from man/lha.man, translated by
-Osamu Aoki <debian@aokiconsulting.com>):
-
- Permission is given for redistribution, copy, and modification provided
- following conditions are met.
-
- 1. Do not remove copyright clause.
- 2. Distribution shall conform:
- a. The content of redistribution (i.e., source code, documentation,
- and reference guide for programmers) shall include original contents.
- If contents are modified, the document clearly indicating
- the fact of modification must be included.
- b. If LHa is redistributed with added values, you must put your best
- effort to include them (Translator comment: If read literally,
- original Japanese was unclear what "them" means here. But
- undoubtedly this "them" means source code for the added value
- portion and this is a typical Japanese sloppy writing style to
- abbreviate as such) Also the document clearly indicating that
- added value was added must be included.
- c. Binary only distribution is not allowed (including added value
- ones.)
- 3. You need to put effort to distribute the latest version (This is not
- your duty).
-
- NB: Distribution on Internet is free. Please notify me by e-mail or
- other means prior to the distribution if distribution is done through
- non-Internet media (Magazine, CDROM etc.) If not, make sure to Email
- me later.
-
- 4. Any damage caused by the existence and use of this program will not
- be compensated.
-
- 5. Author will not be responsible to correct errors even if program is
- defective.
-
- 6. This program, either as a part of this or as a whole of this, may be
- included into other programs. In this case, that program is not LHa
- and can not call itself LHa.
-
- 7. For commercial use, in addition to above conditions, following
- condition needs to be met.
-
- a. The program whose content is mainly this program can not be used
- commercially.
- b. If the recipient of commercial use deems inappropriate as a
- program user, you must not distribute.
- c. If used as a method for the installation, you must not force
- others to use this program. In this case, commercial user will
- perform its work while taking full responsibility of its outcome.
- d. If added value is done under the commercial use by using this
- program, commercial user shall provide its support.
-
-
-(Osamu Aoki also comments:
- Here "commercial" may be interpreted as "for-fee". "Added value" seems
- to mean "feature enhancement". )
-
-
-License Statement by Tsugio Okamoto (in Japanese EUC-JP):
-
- なお、ネットでの配付は自由ですが、ネットにアクセスできない方(雑誌および、
- CD-ROM などによる)への配付は、配付前にこちらに Inter-Net の方にE-Mail
- を お願いします。 どこそこに、掲載するという旨があれば結構ですので。
- また、それも出来ない際には、後日 E-Mail を必ずお願いします。
-
-
-Translated License Statement by Tsugio Okamoto (translated by
-GOTO Masanori <gotom@debian.org>):
-
- It's free to distribute on the network, but if you distribute for
- the people who cannot access the network (by magazine or CD-ROM),
- please send E-Mail (Inter-Net address) to the author before the
- distribution. That's well where this software is appeard.
- If you cannot do, you must send me the E-Mail later.
-
+Copyright (c) 2008 Koji Arai
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/PKGBUILD b/PKGBUILD
index 628825d7aacb..509191291024 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,43 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=lha
-pkgver=1.17
-pkgrel=6
+pkgver=1.14i
+pkgrel=1
+epoch=1
pkgdesc="A compression and archive utility for LH-7 format archives"
-arch=('i686' 'x86_64')
-url="http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/"
-license=('custom')
-depends_i686=('glibc')
-depends_x86_64=('lib32-glibc')
-source=("ftp://ftp.uhulinux.hu/mirror/http%3A/www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/linux/${pkgname}${pkgver/./}.tar.gz"
+arch=('x86_64')
+url='http://lha.osdn.jp'
+license=('custom:lha')
+depends=('glibc')
+source=("git+https://github.com/jca02266/lha.git#commit=7c3cd95fdf0d2f9198bb779561724cd314bc39a6"
'LICENSE'
- 'lha.man.en')
-sha1sums=('da97195db297d2d1f8f288b1b99eea426edb8170'
- 'e62662e4b8ab2b11bf60d9803312f9743ad731e2'
- '1c100e5178d324103fb6382edd3e96789a86a86a')
+ )
+sha256sums=('SKIP'
+ 'c88f52b7b6b223d1347c6721c24b63ba947baa1756e3713e1fff220e974b9120'
+ )
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd lha
+ autoreconf -vfi
+
+ cd ../build
+ ../lha/configure \
+ --prefix=/usr
+
+ make
+
+}
+
+check() {
+ make -C build check
+}
package() {
- install -Dm755 lha "${pkgdir}/usr/bin/lha"
- install -Dm644 lha.man "${pkgdir}/usr/share/man/ja/man1/lha.1"
- install -Dm644 lha.man.en "${pkgdir}/usr/share/man/man1/lha.1"
+ make -C build DESTDIR="${pkgdir}" install
+
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}