upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ipmitool / trunk / PKGBUILD
blobe5a039ecea07ac7d8dc02f2e627a1fb9b58c1c09
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Florian Dejonckheere <florian@floriandejonckheere.be>
3 # Contributor: gori
5 pkgname=ipmitool
6 pkgver=1.8.19
7 pkgrel=2
8 pkgdesc="Command-line interface to IPMI-enabled devices"
9 arch=('x86_64')
10 url="https://github.com/ipmitool/ipmitool"
11 depends=('openssl')
12 license=('BSD')
13 source=("https://github.com/ipmitool/ipmitool/archive/refs/tags/IPMITOOL_${pkgver//./_}.tar.gz"
14        )
15 sha256sums=('48b010e7bcdf93e4e4b6e43c53c7f60aa6873d574cbd45a8d86fa7aaeebaff9c')
17 _srcdir_name="ipmitool-IPMITOOL_${pkgver//./_}"
19 build(){
20         cd "${srcdir}/${_srcdir_name}"
22         ./bootstrap
23         ./configure --prefix=/usr --sbindir=/usr/bin --with-kerneldir
24         make
27 package(){
28         cd "${srcdir}/${_srcdir_name}"
30         make DESTDIR="${pkgdir}" install
32         # Install license
33         install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"