aboutsummaryrefslogtreecommitdiffstats
path: root/community/lha/APKBUILD
blob: 9617bd495cd3efb2bb8f399e5a1b0e1979896959 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=lha
pkgver=1.14i
pkgrel=3
pkgdesc="Compression and archive utility for LH-7 format archives"
url="https://github.com/jca02266/lha/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
checkdepends="bash"
source="http://osdn.dl.sourceforge.jp/lha/22231/lha-$pkgver-ac20050924p1.tar.gz"
builddir="$srcdir/$pkgname-$pkgver-ac20050924p1"

prepare() {
	default_prepare
	update_config_sub
}

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

check() {
	make check
}

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

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