arch-pkgs/idracadm7/PKGBUILD

29 lines
1.2 KiB
Text
Raw Normal View History

# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=idracadm7
pkgver=9.5.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/950/focal/pool/main/s/srvadmin-idracadm8/srvadmin-${pkgname}_${pkgver}_all.deb"
LICENSE)
b2sums=('fc49ef3f0d22b9a5051a1bb062884b72a3747f3617252058d4802ff1b12f0497f97b7c00cf338f20ce2240d9de9eb854b61ee1864e587ffa4b2efd85082d14ef'
'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 "$srcdir/data.tar.xz" ./opt/dell/srvadmin/bin/idracadm7 --strip-components=5
}
package() {
# binary
install -Dm755 -t "$pkgdir/usr/bin" "$srcdir/idracadm7"
# license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/LICENSE"
}