# Maintainer: Leonardo Arena pkgname=lha pkgver=1.14i pkgrel=4 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="https://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"