Created
July 11, 2023 09:45
-
-
Save alexandervantrijffel/7a64424a93e35e6cd294846a41f69060 to your computer and use it in GitHub Desktop.
working PKGBUILD file for f5epi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Lucas Declercq <[email protected]> | |
pkgname=f5epi | |
pkgver=7220.2022.308.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=('48c6d5ae2207693ea709b4900f0e4d1e') | |
sha256sums=('a8f4b5d965dc0279dd5173109892251ce5d107d9912836e6d83a9b6896eb19a1') | |
sha256sums_x86_64=('b20e8ea6074aef6f630e578a0ff10c5c9317bfbfbeddb8dc9cdedd41fb7ebdf4') | |
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}" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment