[arch-commits] Commit in openipmi/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:34:49 UTC 2021


    Date: Monday, May 24, 2021 @ 11:34:49
  Author: foutrelis
Revision: 944634

archrelease: copy trunk to community-staging-x86_64

Added:
  openipmi/repos/community-staging-x86_64/
  openipmi/repos/community-staging-x86_64/PKGBUILD
    (from rev 944632, openipmi/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: openipmi/repos/community-staging-x86_64/PKGBUILD (from rev 944632, openipmi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 11:34:49 UTC (rev 944634)
@@ -0,0 +1,42 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: goodmen <goodmenzy at gmail.com>
+
+pkgname=openipmi
+_pkgname=OpenIPMI
+pkgver=2.0.30
+pkgrel=2
+pkgdesc='Full-function IPMI (Intelligent Platform Management Interface) system'
+url='http://openipmi.sourceforge.net/'
+arch=('x86_64')
+license=('LGPL2.1')
+makedepends=('python' 'swig')
+depends=('popt' 'ncurses' 'net-snmp' 'glib2' 'gdbm' 'libedit')
+optdepends=('python: bindings')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${_pkgname}%202.0%20Library/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('9ed4289617c5dcbae6eb7973766db38c20a1f2f1626a4065d7d784c5e90bc1e0af3e95c50cd7a0a6345a3561cdbded4fac833f61fe7136ff4e36164e93b24fc1')
+
+prepare() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	sed \
+		-e '/Requires:/s/pthread//' \
+		-e '/Libs:/s/$/ -lpthread/' \
+		-i OpenIPMIpthread.pc.in
+}
+
+build() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install-exec
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 doc/IPMI.pdf "${pkgdir}/usr/share/doc/${pkgname}/IPMI.pdf"
+}



More information about the arch-commits mailing list