From 389cc241e13d447b7a920d670807e8bb061e5619 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 15 Dec 2018 14:42:31 +0100 Subject: ssacli neu --- ssacli/.gitignore | 1 + ssacli/PKGBUILD | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ssacli/.gitignore create mode 100644 ssacli/PKGBUILD (limited to 'ssacli') diff --git a/ssacli/.gitignore b/ssacli/.gitignore new file mode 100644 index 000000000..1d1ed6224 --- /dev/null +++ b/ssacli/.gitignore @@ -0,0 +1 @@ +ssacli-*.rpm diff --git a/ssacli/PKGBUILD b/ssacli/PKGBUILD new file mode 100644 index 000000000..2f9038ba1 --- /dev/null +++ b/ssacli/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Erich Eckner +# Contributor: Massimiliano Torromeo + +pkgname=ssacli +pkgver=3.30_14.0 +pkgrel=1 +pkgdesc="HP Command Line Smart Storage Administrator" +arch=(x86_64) +url="https://downloads.linux.hpe.com/SDR/downloads/mcp" +depends=(bash) +replaces=(hpacucli hpssacli) +groups=(hpproliant) +license=("CUSTOM") + +source=("https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/current/$pkgname-${pkgver//_/-}.x86_64.rpm") +sha256sums=('499f454e195eaa0b211f7118c3224a0a26fc5626677e26054e860137c2342c0f') + +package() { + mv usr/{sbin,bin} + mv usr/{,share/}man + install -Dm644 opt/smartstorageadmin/ssacli/bin/ssacli.license "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt + rm opt/smartstorageadmin/ssacli/bin/ssacli.license + cp -a opt usr "$pkgdir" +} -- cgit v1.2.3-70-g09d2