summaryrefslogtreecommitdiff
path: root/ssacli/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-15 14:42:31 +0100
committerErich Eckner <git@eckner.net>2018-12-29 14:25:21 +0100
commit389cc241e13d447b7a920d670807e8bb061e5619 (patch)
tree9075b1e20b15ccb00a9c9b66cdd322213ae0af16 /ssacli/PKGBUILD
parentb417e16a84a1430b4c4cc5794bd4a2c3ea22660b (diff)
downloadarchlinuxewe.git.save-389cc241e13d447b7a920d670807e8bb061e5619.tar.xz
ssacli neu
Diffstat (limited to 'ssacli/PKGBUILD')
-rw-r--r--ssacli/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/ssacli/PKGBUILD b/ssacli/PKGBUILD
new file mode 100644
index 00000000..2f9038ba
--- /dev/null
+++ b/ssacli/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+
+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"
+}