updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / megamgr / PKGBUILD
blobb83a2826af81356c5d252df32197650a13db52a6
1 # Contributor: Dieter Plaetinck <dieter@plaetinck.be>
2 pkgname=megamgr
3 pkgver=5.20
4 pkgrel=3
5 pkgdesc="Lsi megamgr utility"
6 arch=(i686 x86_64)
7 url="http://www.lsi.com/support/downloads/index.html"
8 license=('unknown')
9 groups=()
10 depends=(bash)
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=("http://www.lsi.com/DistributionSystem/AssetDocument/files/support/rsa/utilities/megamgr/ut_linux_mgr_$pkgver.zip")
19 noextract=()
20 md5sums=("0417bd48936518322c3634a414b3c8d1")
22 build() {
23   cd "$srcdir/"
24   chmod 755 megamgr
25   chmod 755 megamgr.bin
26   chmod 644 *.txt
27   # don't look for megamgr.bin in current directory. rely on $PATH instead
28   sed -i 's/.\/megamgr.bin/megamgr.bin/' megamgr
29   mkdir -p $pkgdir/usr/sbin
30   mkdir -p $pkgdir/usr/share/doc/megamgr
31   cp -ax megamgr* $pkgdir/usr/sbin
32   cp -ax *.txt    $pkgdir/usr/share/doc/megamgr
35 # vim:set ts=2 sw=2 et: