blob: 381cdf4644332beca39a91d5e17ab80a7e0ee2a6 (
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
|
# Maintainer:
pkgname=wolfclu
pkgver=0.1.5
pkgrel=0
pkgdesc="This is the wolfSSL Command Line Utility (wolfCLU)."
arch=("x86_64")
url="https://github.com/wolfSSL/wolfCLU"
license=("GPL2")
makedepends=("autoconf")
depends=("wolfssl")
provides=("${pkgname}")
_build_directory=wolfCLU-${pkgver}-stable
source=(
"https://github.com/wolfSSL/wolfCLU/archive/refs/tags/v${pkgver}-stable.tar.gz"
)
sha512sums=(
"c431439c3f70219a3abe362b991c225ac0a457bcd393ec9bb2e9313147aa96d8093bd32bcd4f7204f157c753077d0b309665c7f03ca96c5c8af529c71424233d"
)
prepare() {
cd "${srcdir}/${_build_directory}"
./autogen.sh
./configure --enable-wolfclu
}
build() {
cd "${srcdir}/${_build_directory}"
make -j8
}
check() {
cd "${srcdir}/${_build_directory}"
make check
}
package() {
cd "${srcdir}/${_build_directory}"
DESTDIR="${pkgdir}" make install
mkdir -p "$pkgdir/usr/share/man/man1"
cp -r "$pkgdir/usr/local/share/man/man1" "$pkgdir/usr/share/man"
rm -rf "$pkgdir/usr/local/share"
}
|