Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer : Leo von Klenze <devel@leo.von-klenze.de>
- # Contributor: Martin Wimpress <code@flexion.org>
- pkgname=ipmiview
- pkgver=2.9.18
- _buildnr=130410
- pkgrel=1
- pkgdesc="IPMIView is a management software program based on the IPMI specification Reversion 1.5 - 2.0"
- arch=('i686' 'x86_64')
- url="ftp://ftp.supermicro.com/utility/IPMIView/Jar/"
- license=('unknown')
- depends=('java-runtime')
- source=("ftp://ftp.supermicro.com/utility/IPMIView/Jar/IPMIView-${pkgver}-build${_buildnr}-jar.zip")
- md5sums=('830667de3a9724a83d06eb1cfc768802')
- build() {
- mkdir -p ${pkgdir}/opt/IPMIView
- mkdir -p ${pkgdir}/usr/bin
- cp "${srcdir}/IPMIView-${pkgver}-build${_buildnr}-jar/"* "${pkgdir}/opt/IPMIView"
- chmod 644 "${pkgdir}/opt/IPMIView/"*
- echo -e "#!/bin/sh\n\n"'mkdir -p ${HOME}/.IPMIView'"\n"'cd ${HOME}/.IPMIView'"\n\njava -Djava.library.path=/opt/IPMIView -jar /opt/IPMIView/IPMIView20.jar\n" > "${pkgdir}/opt/IPMIView/IPMIView20.sh"
- chmod 755 "${pkgdir}/opt/IPMIView/IPMIView20.sh"
- ln -s /opt/IPMIView/IPMIView20.sh "${pkgdir}/usr/bin/IPMIView"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement