# Maintainer: A. Wilcox pkgname=ipmiutil pkgver=3.1.3 pkgrel=0 pkgdesc="IPMI Management Utilities" url="http://ipmiutil.sourceforge.net/" arch="all" options="!check" # No test suite shipped. license="BSD-2-clause BSD-3-clause GPL-2.0-or-later" depends_dev="openssl-dev" makedepends="$depends_dev linux-headers" subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc" source="https://downloads.sourceforge.net/project/ipmiutil/ipmiutil-$pkgver.tar.gz ipmiutil-3.0.7-fix-sha256.patch " builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare update_config_guess } build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-systemd \ --enable-sha256 \ --enable-gpl make -j1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install # remove systemd service files rm "$pkgdir/usr/share/ipmiutil/"*.service } sha512sums="bd1f95b59583a07a5b6001b40e59269f25eb63b69e33f7fad6dd40136e1ea7611e647eb5ed2e2a9746944bde2dc2a3aa2def44238947693d75d9ca48697e1b99 ipmiutil-3.1.3.tar.gz 74e8951bccd004f765b99de87dc5f04834e594b3e14ba885148fb971eaf15164ccac2de880e409f201a38cba5c0948a0fabc04e1e34fb396f50b1ecddb6b305b ipmiutil-3.0.7-fix-sha256.patch"