blob: 6f3036c7443ea63938f93df9ac42278ac517eab7 (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=ssacli
pkgver=4.17_6.0
pkgrel=1
pkgdesc="HP Command Line Smart Storage Administrator"
arch=(x86_64)
url="https://downloads.linux.hpe.com/SDR/downloads/mcp"
_pinned_dependencies=(
'gcc-libs=10.1.0'
'glibc>=2.31'
)
depends=(bash "${_pinned_dependencies[@]}")
replaces=(hpacucli hpssacli)
groups=(hpproliant)
license=("CUSTOM")
source_x86_64=("https://downloads.linux.hpe.com/SDR/repo/mcp/centos/8/${CARCH}/current/$pkgname-${pkgver//_/-}.${CARCH}.rpm")
source=('ssacli.conf')
sha512sums=('32cf56d9d40bb537273d27ad73afe1af30c283cd13bd4bc57df96ebd6538e8f8d55d352895e40e33a35c16c245da46071707fcf3d676387d72f20a22e9ecf50d')
sha512sums_x86_64=('b7430c9ebbb5f234a6ffc14cf295899af04f9130ff1ebac9671a4cbf378fd164de0834aed6b9a001977e07720f52869e8f7ec4fa2adaa300e5764dd3d353b1c5')
package() {
mv usr/{sbin,bin}
mv usr/{,share/}man
install -Dm644 opt/smartstorageadmin/ssacli/bin/ssacli.license "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
install -Dm644 "$srcdir/ssacli.conf" "$pkgdir/usr/lib/modules-load.d/ssacli.conf"
rm opt/smartstorageadmin/ssacli/bin/ssacli.license
cp -a opt usr "$pkgdir"
}
|