diff options
author | Massimiliano Torromeo | 2013-10-24 15:38:20 +0200 |
---|---|---|
committer | Massimiliano Torromeo | 2013-10-24 15:38:20 +0200 |
commit | c736ee4215604f174447990a88c90d0071fda7f7 (patch) | |
tree | 57bfcccd56c8814baeefe01600e915876ec51da6 | |
parent | 84ec1bc3d0021268622a74fe325273e62f162b5a (diff) | |
download | aur-c736ee4215604f174447990a88c90d0071fda7f7.tar.gz |
Fixed hpacucli package for i686
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -14,10 +14,13 @@ license=("CUSTOM") source=(http://downloads.linux.hp.com/SDR/downloads/ServicePackforProLiant/RHEL/6.4/$CARCH/current/$pkgname-${pkgver//_/-}.$pkgarch.rpm) +sha256sums=('df3bea520c884eee58e4964da08864c949750b2df9b8c974b692b34f5a465ee3') +if [ $CARCH = "i686" ]; then + sha256sums=('4066b13ac1428fd78b8b31110b5038241a83bb9b6b1bdd5e8cdf0272934ef83c') +fi + package() { cd "$srcdir" - mv usr/{sbin,bin} - cp -a {opt,usr} "$pkgdir" + cp -a opt usr "$pkgdir" + mv "$pkgdir"/usr/{sbin,bin} } - -sha256sums=('df3bea520c884eee58e4964da08864c949750b2df9b8c974b692b34f5a465ee3') |