blob: 44c8d705c674e54a48e8d5c49dde67f7329b43a3 (
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
41
42
43
44
45
46
47
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=lha
pkgver=1.14i_ac20220213
pkgrel=1
epoch=1
pkgdesc="A compression and archive utility for LH-7 format archives"
arch=('x86_64')
url='http://lha.osdn.jp'
license=('custom:lha')
depends=('glibc')
makedepends=('git')
source=(
"git+https://github.com/jca02266/lha.git#commit=4f193b1e98700aa2bc9dfeef11943efc1f036154"
'LICENSE'
)
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() {
make -C build DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|