aboutsummaryrefslogtreecommitdiffstats
path: root/community/lha/APKBUILD
blob: a38de14837340384cc2bdb593acc3f7b2bcd87ff (plain) (blame)
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
}

sha512sums="efe43d407d273f8f724f7b205223bd122c76adac4b67ad5e9811e88cae03f1f3c3af4297aa6f24951a02558975bbafacf697e97ab0da578b4e0115b89237566f  lha-1.14i-ac20050924p1.tar.gz"