arch-pkgs/idracadm7/PKGBUILD
2022-02-05 08:35:20 +00:00

32 lines
1.5 KiB
Bash

# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=idracadm7
pkgver=10.2.0.0
pkgrel=1
pkgdesc="Command-line interface to the Remote Access Controller - iDRAC7"
arch=('x86_64')
url='https://linux.dell.com/repo/community/openmanage/'
license=('custom:dell')
depends=('argtable')
source=(
"$pkgname-$pkgver.deb::https://linux.dell.com/repo/community/openmanage/${pkgver//./}/focal/pool/main/s/srvadmin-idracadm8/srvadmin-${pkgname}_${pkgver}_all.deb"
'LICENSE'
)
sha512sums=('1981c6e12b2f0db50d8512aaffb10051d22d099dc8a1897397b9180e077ba575dd195c17d65081fc597b2b7a1cea12c3061926c3869a92f8f77f5e5e51c64bed'
'0ab1c695f6e0c21639fc470d2f74b0f3eec2a9ad4ecf09077bca7d2596888f994cbf03bf40f5c4e7d85e651f0c33b34c69ed47cef02ff9f2827eb8838fe06718')
b2sums=('384654882bf6808355e027bdbc6a9eccd06c2b1c85b8088b6e377df9e81c5120b5be4f2f57e672c05b0ab1452e0f26e7f0ad1ffe97d3831f0517a6ef6735e550'
'bf369d65bc553e5431ade90457cd45ec7b47da97031b3c478ed02fafff9b6c10009c0fe7fd4bee6da4a9b97e1d1b2f3f716e622185debb919223e49218ac90aa')
# https://www.dell.com/support/article/en-nz/sln310714/support-for-openmanage-enterprise?lang=en
# https://www.delltechnologies.com/en-us/collaterals/unauth/offering-overview-documents/products/servers/openmanage_enterprise_licensing_guide.pdf
prepare() {
tar xvf data.tar.xz ./opt/dell/srvadmin/bin/idracadm7 --strip-components=5
}
package() {
# binary
install -Dm755 -t "$pkgdir/usr/bin" idracadm7
# license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}