blob: b151bbcdc2c35c12b4392cb38cdf9ae62ebb64d1 (
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
|
# Maintainer: Lucas Declercq <lucas.declercq@hoohoot.org>
pkgname=f5epi
pkgver=7183.2020.0826.1
pkgrel=1
pkgdesc='Endpoint inspection application. It provide capabilities to check machines software processes and files'
arch=('x86_64')
source=('LICENSE')
source_x86_64=("linux_${pkgname}-${pkgver}-${pkgrel}.x86_64.rpm::https://vpn.brown.edu/public/download/linux_${pkgname}.x86_64.rpm")
md5sums=('2508fc5e24d46163844dba9534fe7924')
md5sums_x86_64=('ceb72a2b1a0a7857da61a23f7c004f22')
sha256sums=('a8f4b5d965dc0279dd5173109892251ce5d107d9912836e6d83a9b6896eb19a1')
sha256sums_x86_64=('c1f755ba00e16ea61ec137b1c2f6bad1d0f56e53a88c885691922e88746ffa2d')
depends=()
url='https://support.f5.com/csp/article/K32311645#link_04_05'
license=('commercial')
package() {
(
cd "${srcdir}/opt/f5/epi"
install -Dm644 "com.f5.${pkgname}.desktop" "${pkgdir}/usr/share/applications/com.f5.${pkgname}.desktop"
install -Dm644 "com.f5.${pkgname}.service" "${pkgdir}/usr/share/dbus-1/services/com.f5.${pkgname}.service"
install -dm755 "${pkgdir}/usr/bin/"
for executable in $pkgname f5PolicyServer; do
ln -s "/opt/f5/epi/${executable}" "${pkgdir}"/usr/bin/${executable}
done
# Use system Qt libraries
for library in lib/*.so.*; do
ln -sf "/usr/${library%%.so.*}.so" "$library"
done
for resolution in 16 24 32 48 64 96 128 256 512 1024; do
install -Dm644 "logos/${resolution}x${resolution}.png" \
"${pkgdir}/usr/share/icons/hicolor/${resolution}x${resolution}/apps/${pkgname}.png"
done
)
install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cp -a opt "${pkgdir}"
}
|