aboutsummaryrefslogtreecommitdiffstats
path: root/main/lha/APKBUILD
blob: d408b5e054530f4171d764543fd4bc89e6a80aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=lha
pkgver=1.14i
pkgrel=2
pkgdesc="Compression and archive utility for LH-7 format archives"
url="http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=""
makedepends=""
install=
source="http://osdn.dl.sourceforge.jp/lha/22231/$pkgname-$pkgver-ac20050924p1.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver-ac20050924p1"
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make "DESTDIR=$pkgdir" install
	#install -D -m755 $srcdir/lha $pkgdir/usr/bin/lha
}

md5sums="9f52430410928ba4390a73a41a36d56f  lha-1.14i-ac20050924p1.tar.gz"